Need help programming hangman

This is a discussion on Need help programming hangman within the C Programming forums, part of the General Programming Boards category; How do I run this program? I am a beginner and need help. The possible answers are listed on the ...

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    4

    Need help programming hangman

    How do I run this program? I am a beginner and need help. The possible answers are listed on the bottom.



    16
    wolf
    donkey
    elephant
    monkey
    coyote
    rabbit
    iguana
    shark
    boll weevil
    tiger
    lion
    llama
    camel
    kangaroo
    mouse
    walleye
    bug in get word
    Attached Files Attached Files

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Well first you need to compile it into an EXE file....
    Do you have a compiler for your Operating System?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,852
    You've been given a partially complete program.

    The things you need to do are listed at the top of the code
    Code:
        Finish
    
          initGuessStr() function
    
          takeGuess(0 function
    
          
    
          the main loop
    Now, what do you normally see when playing hangman?
    _____

    You make a guess and it becomes say
    __O__


    What YOU need to do is implement those two functions (as instructed) to make the game play.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    4
    Thanks for the help I will try that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hangman Game Troubles
    By emerica240 in forum C Programming
    Replies: 9
    Last Post: 11-26-2008, 01:39 AM
  2. Hangman, Help me with the thinking
    By Livijn in forum C# Programming
    Replies: 14
    Last Post: 02-09-2008, 03:16 PM
  3. Hangman Game - Part 2
    By tigrfire in forum C Programming
    Replies: 1
    Last Post: 11-28-2005, 03:20 AM
  4. Help doing Hangman...
    By Kreative in forum C Programming
    Replies: 11
    Last Post: 08-18-2002, 10:22 PM
  5. Using 'if' with char arrays or string objects
    By c++_n00b in forum C++ Programming
    Replies: 36
    Last Post: 06-06-2002, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21