help!!

This is a discussion on help!! within the C++ Programming forums, part of the General Programming Boards category; the dealer wont loop in my C++ and i get some crazy errors there useing LVP lib so you can ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    41

    help!!

    the dealer wont loop in my C++ and i get some crazy errors
    there useing LVP lib so you can download them at www.lvp.com
    Attached Files Attached Files

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Another "Help" post with a gem to the left .
    Please don't tell people to dl and debug your code. Isolate the problem and ask a more specific question about the error. Thank you!
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    Registered User
    Join Date
    Feb 2003
    Posts
    41
    i dont know whats wrong! thats just it

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>while ((deal == 's' || deal == 'S') && (Dealertotal <= 21));
    My compiler says that line has no affect, so I expect you have your source out of synch somehow.

    Maybe you need to debug a little more.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    41
    thats suppose to be for if the player hits the key S and the dealer total is less than or = to 21 the dealer should (if the code was there) hit him self untill he gets 17 or busts

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