Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ Newbie

Name: Anonymous 2009-08-12 20:43

http://pastebin.com/m4319da6a
Basic hangman game, I got it from Beginning C++ Through Game Programming. I was doing one of the exercises at the end of a chapter and it said to take the original hangman game and make a function for getting the player's guess and make a function for checking if the letter is in the secret word. I'm not sure what the problem is, the code compiles fine. I wasn't sure where to create the variables at because leaving them where they were in main wasn't working because the function that uses them is declared before main. Any help would be appreciated, sorry for the WALL OF TEXT

Name: Anonymous 2009-08-14 11:45

>>10
Py3k is absolutely fine for new programmers, and removes many of the pitfalls for people who think "Python" means "Just make the computer do what I want it to."

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List