In the IDE you can use "Project" -> "Project options" -> "General" tab, "Command line arguments" to specify "normal" program arguments (for argc, argv). The use of "pipes", or whatever the correct term is, like program < some-text-file isn't supported by the IDE since this is not common enough to bother with under Windows... (IMO) - in this case maybe easier to work from the command line...