Need a sample program for basketball game

This is a discussion on Need a sample program for basketball game within the C++ Programming forums, part of the General Programming Boards category; hello there.... do you have some sample source code for basketball using arrays?? its just like entering the rookie number ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    34

    Need a sample program for basketball game

    hello there....
    do you have some sample source code for basketball using arrays??

    its just like entering the rookie number of the player then enter the point you want him to have.... then it also has to give the other team to have points..

    then to determine what team has won... and who is the MVP player?

  2. #2
    In the Land of Diddly-Doo g4j31a5's Avatar
    Join Date
    Jul 2006
    Posts
    476
    I just loved to answer this kind of question. A no brainer.

    http://cboard.cprogramming.com/annou...t.php?f=3&a=51

    http://cboard.cprogramming.com/annou...t.php?f=3&a=39

    BTW, word of advice:
    1. Try to understand the question first.
    2. Think of the logics. If you can't, try brainstorming with your friend.
    3. Do the coding!!!!!
    4. If it didn't work or it has some errors, try coming back to this board.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Posts
    34

    Unhappy

    Quote Originally Posted by g4j31a5
    I just loved to answer this kind of question. A no brainer.

    http://cboard.cprogramming.com/annou...t.php?f=3&a=51

    http://cboard.cprogramming.com/annou...t.php?f=3&a=39

    BTW, word of advice:
    1. Try to understand the question first.
    2. Think of the logics. If you can't, try brainstorming with your friend.
    3. Do the coding!!!!!
    4. If it didn't work or it has some errors, try coming back to this board.

    im just a 1st year college... a freshmen for COmputer Science Course.....

    we'll need this on monday

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Please follow the excellent advice given you both in this thread and your first one.

    Please put some effort in yourself; nobody is going to write the code for you. If you have specific difficulties with code you have written then post that code together with a description of the problem and any errors or warnings given by your compiler.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  5. #5
    Registered User
    Join Date
    Dec 2006
    Posts
    34
    ok thanks.... im sorry i didnt read it before

  6. #6
    Registered User
    Join Date
    Dec 2006
    Posts
    34
    Quote Originally Posted by Ken Fitlike
    Please follow the excellent advice given you both in this thread and your first one.

    Please put some effort in yourself; nobody is going to write the code for you. If you have specific difficulties with code you have written then post that code together with a description of the problem and any errors or warnings given by your compiler.
    ah okay....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  3. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM
  4. need help with a guessing game program
    By davidnj732 in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2003, 10:59 AM

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