i get keeping this error, undefined reference to Attack,Run and Defend. here is my code.
also, when i compile, I dont get a EXE file. and I cant run the text game. any ideas? also if any one can help me with a any of this i would be greatful. thank you allCode:string battleSelect; void Battle(); { cout << "You Have engaged into battle!! What will you do?"; cout << "\n[A]ttack, [R]un, [D]efend :"; if (battleSelect == "a" || battleSelect == "A") { Attack(); } if (battleSelect == "r" || battleSelect == "R") { Run(); } if (battleSelect == "d" || battleSelect == "D") { Defend(); } } system("PAUSE"); void Attack(); { }; void Run(); { }; void Defend(); { }; return 0; }