Hello, I need help using the command prompt to run my program and obtain the output. My program is supposed to echo the input one word per line, via getchar and putchar functions.
The format of the cmd prompt line is supposed to be something like "C:\CS539>lab2a.exe<lab2ain.txt>lab2aout.txt" where lab2ain.txt is the input file, and lab2aout.txt is the output file that gets created.
However, when I run the command prompt on vista I get"C:\Users\Matthew>" and I do not know how to alter it to the correct format.
My program is under C: -> Users -> Matthew -> Visual Studio 2008 -> Projects -> lab2a -> Debug -> lab2a.exe
Any help would be highly appreciated, thanks in advance. I just simply want to know the correct command prompt usage to run my program.