I setted my color to Green in the chart but now whenever i try to set the color back to deafult it still comes out green! help!
ps: It still only works on Multiplayer... Im not done with this yet
I setted my color to Green in the chart but now whenever i try to set the color back to deafult it still comes out green! help!
ps: It still only works on Multiplayer... Im not done with this yet
Well, you actually never set back to default because you've totally messed up wOldColorAttrs. You're only setting it back in "GetAnswerMulti()", but you've already set it in main, so there's no point! Pass wOldColorAttrs into each function are argument instead of loading again and again.
Oh, your "getrand()" function is logically wrong. "srand(time(NULL))" should be called only once at the beginning of your program.
Devoted my life to programming...
oh wow, ok fine, but that is a mighty big dumper load of unformatted code spaghetti that was just hoiked in there, twice, and there is no way i am trawling through it.
look up indentation.
use code tags
post less code, especially if it looks like that!
use the 'edit' button if you need to change something you posted.
open a new thread
Last edited by rogster001; 11-16-2010 at 08:44 AM. Reason: "use cod tags" - only relevant in "AskAFisherman.com" forum, changed to use CODE tags.
Thought for the day:FLTK: "The most fun you can have with your clothes on.""Are you sure your sanity chip is fully screwed in sir?" (Kryten)
Stroustrup:
"If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"