Discussion:
a3q2
(too old to reply)
z47xu
2011-06-06 18:06:23 UTC
Permalink
I do not understand what we need to do after we find the included files.
Does this question ask us to copy the content in the included file to
the current file?
Terry Anderson
2011-06-07 18:50:46 UTC
Permalink
Page 3 of the assignment gives the usage for include:

include [ infile [ outfile ] ]

When your program has finished, the output file will contain the
preprocessed version of the input file's contents. The actual input file
itself does not change.

And remember that you should get input from cin if the infile argument is
missing, and you should send output to cout if the outfile argument is missing.
--
Terry Anderson
CS 246 Instructor
I do not understand what we need to do after we find the included files. Does
this question ask us to copy the content in the included file to the current
file?
Loading...