!!!
Of course!
Sorry for any time wasted, but thanks for your help...
I really should have seen that
Thanks again!
------------------
EDIT::
Another problem ... I wanted to make it so my program would loop, until the user selected option 4, so I added:
Code:
int main()
{
int answer, guess = 1, x = 1, looper;
looper = 1;
while(looper = 1)
{
cout << "\n\n-----------------------------------\nSelect Difficulty\n1 - Easy\n2 - Medium\n3 - Hard\n4 - Quit\n\nChoice: ";
cin >> x;
To the script.
And to case 4 I added
Code:
case 4:
cout << "End of program.";
looper = 2;
break;
But I'm getting the error that looper is assigned a value that is used in function main (line 60) and there is possibly an incorrect assignment (line 8). But I'm pretty sure It's all correct...
Anyone know what's wrong?
Thanks in advance!