Rachel
2011-06-11 19:33:21 UTC
According to the assignment specifications, we are not allowed to use
new/malloc in the routine processOneFile. However, are we still
allowed to use new/malloc in the main function? For example, can I
use the code from reversewords.cc, which dynamically allocates space
for the input and output streams to handle my I/O in question 2? Or
do I have to keep all my input and output on the stack? Thanks
new/malloc in the routine processOneFile. However, are we still
allowed to use new/malloc in the main function? For example, can I
use the code from reversewords.cc, which dynamically allocates space
for the input and output streams to handle my I/O in question 2? Or
do I have to keep all my input and output on the stack? Thanks