Page 1 of 1

Help! in/out files - stuck

PostPosted: Oct 31, 2002 @ 8:10am
by masChman

PostPosted: Oct 31, 2002 @ 8:56am
by refractor

PostPosted: Oct 31, 2002 @ 9:13am
by refractor

doh

PostPosted: Oct 31, 2002 @ 11:25am
by masChman

PostPosted: Oct 31, 2002 @ 11:29am
by BurningSheep

oh

PostPosted: 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!

PostPosted: 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