i have the code
and i get 3 parse errors and i think it has to do with the ( Dagger )Code:cPlayer MyPlayer; cout<<"Dagger Skill: %d"<<MyPlayer.GetValue( Dagger ); cin.ignore(); MyPlayer.SetValue(Dagger, 50); cout<<"Dagger Skill: %d"<<MyPlayer.GetValue( Dagger );
part of the program, this is my attempt at making thisinto c++ (i have no knowlege of c)Code:cPlayer MyPlayer; printf("Dagger Skill: %d", MyPlayer.GetValue(DAGGER_SKILL)); printf("\n"); //Prints a New Line MyPlayer.SetValue(DAGGER_SKILL, 50); printf("Dagger Skill: %d", MyPlayer.GetValue(DAGGER_SKILL));



LinkBack URL
About LinkBacks


