Discussion:
a3q2
(too old to reply)
Zikun Xu
2011-06-09 00:50:04 UTC
Permalink
the shell interface is include [ infile ] [ outfile ]

what does infile and outfile mean?

Does infile means the files which is included and outfile means the
file which include all the files?

I think there is no need to give a infile argument since we can read
the names of included files inside the outfile? Do I misunderstand
something?
Ashif Harji
2011-06-09 03:02:08 UTC
Permalink
If specified, infile is the file to process as per the assignment
specification. If it is not specified, input comes from cin.

If specified, outfile is the file where you output the results after
processing. Otherwise, output is written to cout.

You cannot read the contents of the included file in outfile. It is
generated by your program. As well, it may not even be specified on the
command line.

If you are having trouble understanding what is required, try generating
some sample input and running the reference executable to see what
happens. Both 32-bit and 64-bit reference executable are available on the
assignment page of the course web-site.

ashif
Post by Zikun Xu
the shell interface is include [ infile ] [ outfile ]
what does infile and outfile mean?
Does infile means the files which is included and outfile means the
file which include all the files?
I think there is no need to give a infile argument since we can read
the names of included files inside the outfile? Do I misunderstand
something?
Loading...