greenismn
March 12th, 2008, 05:01 PM
Hello, I am having trouble with this code for a game that must use classes. I am having trouble especially with the Character class. This class is used throughout the code to increase or decrease money, time and intellegence. Steps must also be increased or decreased. If anyone can tell me what I am doing wrong I would greatly appreciate it. I have not ironed out all the details of the game yet, like I need to add some more loops and things to control the menu's and tell the user if they have won the game, and I have not finished the part where I write the scores to an outside file but I will deal with this stuff when I figure out what it is I am doing with the variables. As is the compiler gives me the following errors.
Undefined symbol 'inital_time' in function Character::init_character()
Undefined symbol 'intial_intel' in function Character::init_character() 'initial_intel' is assigned a value that is never used in function Character::init_character()
'initial_money' is assigned a value that is never used in function Character::init_character()
'initial_time' is assigned a value that is never used in function Character::init_character()
Undefined symbol 'initial_time'
Qualifier 'Encounter' is not a class or namespace name
Declaration terminated incorrectly
Qualifier 'Menu' is not a class or namespace name
Declaration terminated incorrectly
Thanks so much for the help.
Undefined symbol 'inital_time' in function Character::init_character()
Undefined symbol 'intial_intel' in function Character::init_character() 'initial_intel' is assigned a value that is never used in function Character::init_character()
'initial_money' is assigned a value that is never used in function Character::init_character()
'initial_time' is assigned a value that is never used in function Character::init_character()
Undefined symbol 'initial_time'
Qualifier 'Encounter' is not a class or namespace name
Declaration terminated incorrectly
Qualifier 'Menu' is not a class or namespace name
Declaration terminated incorrectly
Thanks so much for the help.