|
-
February 11th, 2009, 05:22 PM
#7
Re: Error involving invalid operands of a const char*
 Originally Posted by Russco
Nows as good a time as any to learn to use the debugger.
Your last line will print 2 too many '-' chars. Why? How do you fix it?
Follow your code in a debugger, set breakpoints, add variables to the watch window and work out why this happens and how to effect a fix.
I'm actually having a terrible time using the debugger. I can't figure it out at all. I usually manually set in variables and pauses in order to debug.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|