M
Max
Yea this is probably a n00b question, but I haven't programmed C++ in at
least 2 years and have never programmed for unix, sorry
Anyway, I have a project in which a program is required to read from an
input file, process it and spit some stuff back out. The program will be
called from UNIX using "a.out < primary.input". That primary.input file
has a number of lines that I need to read. How do I go about reading
them into a string type? Is this anything related to the way command
line arguments work in windows, or completely different?
Thx for your help.
least 2 years and have never programmed for unix, sorry
Anyway, I have a project in which a program is required to read from an
input file, process it and spit some stuff back out. The program will be
called from UNIX using "a.out < primary.input". That primary.input file
has a number of lines that I need to read. How do I go about reading
them into a string type? Is this anything related to the way command
line arguments work in windows, or completely different?
Thx for your help.