This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Help! in/out files - stuck


Help! in/out files - stuck

Postby masChman » Oct 31, 2002 @ 8:10am

masChman
 


Postby refractor » Oct 31, 2002 @ 8:56am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby refractor » Oct 31, 2002 @ 9:13am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


doh

Postby masChman » Oct 31, 2002 @ 11:25am

masChman
 


Postby BurningSheep » Oct 31, 2002 @ 11:29am

Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


oh

Postby masChman » Nov 1, 2002 @ 3:06am

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!
masChman
 


Postby Dan East » Nov 1, 2002 @ 4:39am

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
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum