Quote:
Hey man, can you do us a favour and send a worked example. As in just post an example of what it should look like (pretend you're playing the game and type up as a post what you would see on the screen) That'll make it more obvious what's going wrong.
the above code is a working example, but if you want i can compile it for you and put it in as an attachment, tell me what you want, linux or windows?
Quote:
You need to use special chars to display special chars with printf
And I think what you need to do is %' instead of just ' to print it out correctly. Similarily, cout uses \ to display such characters. I recommend you review the syntax of some of the more basic functions and always have a good referrence book [or two] handy while coding, especially when bugs show up.
i don't think i do, because if you compile the above source, it does print *'s and 0's ,but not like they should in order to let the game work, the program is working though, just not like the game should....