Hi, I am using Codewarrior 3.2 and have the following snippet (with
problem line marked):
cout << atof(item) << endl;
this->fltArys[this->fltReadPtr].fAryData[ptr1] = atof(item); <--
// put it into the string array holder itself, next slot
// record new length of this float column
The simple program opens a file containing columns of string or integer
data, and puts each column in an array.
I can open the project, and run it ad infinitum with no problem is the
de* is turned off.
But, if I have the de* enabled, and start the debug, when it gets
to the marked line in the above snippet it gives "unmapped memory
exception." If I dismiss the error dialogue and press command-r to try
to continue running it gives the same error and the cursor stays at the
BUT, if I put a break point at the line before the problem line, then
run the program then step through the line, it works just fine. Any
ideas what's going on?