If I give a user a choice between 3 objects, how can I use the one he chose for the rest of the program?This is exactly what I was looking for! Thank you! I have a quick question: why did you use the * ...
If I give a user a choice between 3 objects, how can I use the one he chose for the rest of the program?Can I overload the >> operator and say something like: [code] Monster user; // monster to use the r...
If I give a user a choice between 3 objects, how can I use the one he chose for the rest of the program?At the beginning of my program asks a user if he wants monster A, B, or C (all from the same class)....
How to declare a variable in a class, and be able to use it w/ every function in that class?Ok this is great! Thanks!
How to declare a variable in a class, and be able to use it w/ every function in that class?How? I am getting: error: a brace-enclosed initializer is not allowed here before '{' token [code...