need help

This is a discussion on need help within the C Programming forums, part of the General Programming Boards category; i need to write a program scoring a bowling game with the use of 2d arrays and the no. of ...

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    need help

    i need to write a program scoring a bowling game with the use of 2d arrays and the no. of pins knocked down as a generated random number. So far this is what I came up with. My problem is in the function parts calling the array. I think I got all correct except for the function parts.

    mxbowlingtrue.cpp

  2. #2
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    In your normal function you haven't initialized 'w' and using it as an index of an array.
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

Popular pages Recent additions subscribe to a feed

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