NO

Author Topic: kate : ./test.c < test.txt . PellesC: ???  (Read 2759 times)

sesa

  • Guest
kate : ./test.c < test.txt . PellesC: ???
« on: January 13, 2008, 03:51:19 PM »
Hello.

I've programmed in kate on linux and now switched over to windows and pellesC..

My question is, where can you set the "run arguments" when you run your program?

My program is suppose to count how many letters there are in a txt file using EOF. 

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: kate : ./test.c < test.txt . PellesC: ???
« Reply #1 on: January 13, 2008, 07:16:18 PM »
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...
/Pelle