Stream.h Error?
Dennis,
One way or another, you are compiling C++ code using the C compiler. Make
sure you name your file with an extension which is being mapped to the C++
translator. [See the extensions page of the TPM preferences to see which
translator the .cp extension is going to, or use .cpp to be (reasonably) sure.]
The syntax error in stream.h results from the string "C" following the
extern…C doesn't expect a string literal there. The syntax error on the
long finishTime = TickCount ();
(or is it endTime???) line comes because C is not expecting a declaration
there, since it has already seen code statements in the scope.
–John