Debugging

This is a discussion on Debugging within the C++ Programming forums, part of the General Programming Boards category; Hi, I'm using Borland C++. The program, or game, that I'm working on starts when you input PUNCH and then ...

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question Debugging

    Hi, I'm using Borland C++. The program, or game, that I'm working on starts when you input PUNCH and then GET AXE. They have to be capitolized in the game. I get the punch to work but when I say GET AXE it says absolutely nothing. Can you report on the problem because I can't find it.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    114
    The line where it sais

    lvlaxe+1;

    is wrong and should be

    lvlaxe++;

    or

    lvlaxe += 1;

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    114
    BTW great game keep up the good work!

  4. #4
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    > lvlaxe+1;

    I think you mean axeamt+1;

    Why are all the char arrays unsigned?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++: Problems with Breakpoint Debugging
    By Thileepan_Bala in forum C Programming
    Replies: 1
    Last Post: 01-17-2008, 09:48 AM
  2. Problem in debugging in Eclipse
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 08-21-2007, 09:53 AM
  3. Debugging Dev C++
    By tuurb046 in forum Tech Board
    Replies: 10
    Last Post: 08-16-2007, 12:51 PM
  4. Debugging book recommendation
    By dagans in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 09-13-2005, 07:35 PM
  5. debugging directx apps
    By confuted in forum C++ Programming
    Replies: 1
    Last Post: 08-16-2003, 08:56 AM

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