Mail Archives: djgpp/1997/03/22/19:43:13
Marc Singer wrote:
> My hunch is that load_datafile is clobbering the stack. The char*
> changes the depth of the stack and could hide the problem. Without
> all of the code, I cannot say more. You could try debugging the app
> and see if str changes after the load_file call.
The problem was that the original poster does not understand that C and C++
are not the same thing. Probably as a fault of using Turbo C++ (which
always compiles C++ unless you specifically tell it not to).
Besides, stack clobbering would cause runtime errors, whereas his complaint
was about compilation errors.
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -