ID Number: Q72652
3.00 3.10 3.11 3.14 | 3.00 3.10 3.11 3.12 3.50
MS-DOS | OS/2
docerr
Summary:
Page 203 of the "Advanced Programming Techniques" manual that ships
with Microsoft C version 6.0 incorrectly documents the command line
required to redirect input and output from the command window of
CodeView using the /C command-line switch.
The manual states that the following command line will redirect input
to INFILE and redirect output to OUTFILE:
CV /c "infile; t >outfile" myprog
The correct line should read as follows:
CV /c"<infile; t >outfile" myprog
Without the inclusion of the "<" character, CodeView treats "infile"
as a command instead of a file to be read from. Furthermore, the space
between the /c and "<infile..." will cause CodeView to respond with
the following error:
Unrecognized option /C
Valid options:
...