Quote:
Originally posted by KnifeMissle
Next time, strcrssd, please also post the error message. It probably told you what your problem is and, if you couldn't understand it, chances are that one of us could have.
By the way, I just copied your code into my compiler (VC++ 6.0) and it compiled just fine. VC++ 6.0 is not the world's most compliant compiler so... what was your error message, again?
|
It was a segmentation fault aka access violation on Windows, so runtime not compiler error.