Quote:
|
Originally Posted by Daniel
Someone mentioned printf working strangely...
I put printf statements through out my program to trace and debug it.
But the program's output has been appearing erratically all of a sudden! That is sometime it just doesn't perform the printf or skips a function call. Has anyone heard of this before? Any solutions?
So much great code, and so little time to debug it!
|
The printf() is buffered, so it might just not be sending back the data right away. That
should mean that you still get everything, just not right away, but it may be weird and do something like over writing what is already in the buffer if what is being written and what is already there is larger than the buffer can hold. Something like that. Or it may be that something changed in you code and it really is skipping those functions that you think are being called. Weird error.
