oh

Posted:
Nov 1, 2002 @ 3:06am
by masChman
Oh thanks! You've both helped me fix the problem. It was exactly the t=10 that caused the strcpy hitting the /o char or whatever that tells it to end the string. Trampling memory - I have to remember that.
Wow, and to think I went to read about strcpy, strcat, and for (int i=0;i<100;i++) skor.name[i]=dname[i] etc and still it did not function.. I should have come by here earlier. =)
About the suggestion for using debug.. Please explain or point me to a guide that can teach me how to monitor variables using it. I've tried compiling for x86 debug and to be honest I am at a loss to how its supposed to function. I looked through the editor and couldnt find any reference to monitoring a variable.
Thanks!

Posted:
Nov 1, 2002 @ 4:39am
by Dan East
You start a debug session in VC++ / eVC++. You can hit F5 to start a debug session or use the toolbar button. You can set a breakpoint to stop execution at a certain point, then view / set variable values in the View window, etc.
Dan East