warning C4805 and error C2181

In the code below, I can't figure out how to fix the " '==' : unsafe mix of type 'int' and type 'bool' in operation" and "illegal else without matching if" errors.

the code below are the trouble areas.

1
2
3
4
5
  if (a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h,i=i,j=j,k=k,l=l,m=m,n=n,o=o,p=p,q=q,r=r,s=s,t=t,u=u,v=v,w=w,x=x,y=y,z=z) 
	cout << "CONGRADULATIONS!!" << endl; PlayAgain=false;
	else cout << "YOU FAILED; RESTARTING..." << endl;
	PlayAgain=true;
	system("PAUSE");


1
2
3
4
5
   system("PAUSE");
	PlayAgain=true;
	while (PlayAgain==true);
	cout << "REARRANGE THE ALPHABET, SO IT IS STILL IN IT'S CODED FORM BUT IN ITS CORRECT ORDER; NO SPACES OR PUNCTUATION" << endl;
	system("PAUSE");


The rest of the code is below.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
   #include <iostream>
using namespace std;
int main(){
	char a;
	char b;
	char c;
	char d;
	char e;
	char f;
	char g;
	char h;
	char i;
	char j;
	char k;
	char l;
	char m;
	char n;
	char o;
	char p;
	char q;
	char r;
	char s;
	char t;
	char u;
	char v;
	char w;
	char x;
	char y;
	char z;
	int PlayAgain;
	cout << "ENTER A CHARACTER TO USE AS EACH LETTER OF THE ALPHABET; HIT ENTER TWICE AFTER ENTERING A LETTER" <<endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	cout << "OTHER PLAYER WILL NOW ATTEMPT TO DECODE THE SCRAMBLED ALPHABET" << endl;
	system("PAUSE");
	system("cls");
	if (a=a,
	b=b,
	c=c,
	d=d,
	e=e,
	f=f,
	g=g,
	h=h,
	i=i,
	j=j,
	k=k,
	l=l,
	m=m,
	n=n,
	o=o,
	p=p,
	q=q,
	r=r,
	s=s,
	t=t,
	u=u,
	v=v,
	w=w,
	x=x,
	y=y,
	z=z)
	cout << a;
	cout << e;
	cout << i;
	cout << o;
	cout << u;
	cout << c;
	cout << b;
	cout << v;
	cout << x;
	cout << p;
	cout << l;
	cout << k;
	cout << w;
	cout << r;
	cout << g;
	cout << h;
	cout << n;
	cout << m;
	cout << q;
	cout << s;
	cout << d;
	cout << f;
	cout << j;
	cout << t;
	cout << y;
	cout << z << endl;
	system("PAUSE");
	PlayAgain=true;
	while (PlayAgain==true);
	cout << "REARRANGE THE ALPHABET, SO IT IS STILL IN IT'S CODED FORM BUT IN ITS CORRECT ORDER; NO SPACES OR PUNCTUATION" << endl;
	system("PAUSE");
	cin >> a;
	cin >> b;
	cin >> c;
	cin >> d;
	cin >> e;
	cin >> f;
	cin >> g;
	cin >> h;
	cin >> i;
	cin >> j;
	cin >> k;
	cin >> l;
	cin >> m;
	cin >> n;
	cin >> o;
	cin >> p;
	cin >> q;
	cin >> r;
	cin >> s;
	cin >> t;
	cin >> u;
	cin >> v;
	cin >> w;
	cin >> x;
	cin >> y;
	cin >> z;
	cout << "CALCULATING..." << endl;
	if (a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h,i=i,j=j,k=k,l=l,m=m,n=n,o=o,p=p,q=q,r=r,s=s,t=t,u=u,v=v,w=w,x=x,y=y,z=z) 
	cout << "CONGRADULATIONS!!" << endl; PlayAgain=false;
	else cout << "YOU FAILED; RESTARTING..." << endl;
	PlayAgain=true;
	system("PAUSE");
}
what are you trying to do?
When you create the variable PlayAgain, you create an int when it should be a bool. And your if statements all need to be == instead of just = (for example a==a, not a=a). And put curly braces between your if and else statements.

1
2
3
4
5
6
7
8
if(foo)
{
    run code
}
else
{
    run this code
}
Last edited on
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#include <iostream>
using namespace std;
int main(){
	char a;
	char b;
	char c;
	char d;
	char e;
	char f;
	char g;
	char h;
	char i;
	char j;
	char k;
	char l;
	char m;
	char n;
	char o;
	char p;
	char q;
	char r;
	char s;
	char t;
	char u;
	char v;
	char w;
	char x;
	char y;
	char z;
	bool PlayAgain; //edited int to bool
	cout << "ENTER A CHARACTER TO USE AS EACH LETTER OF THE ALPHABET; HIT ENTER TWICE AFTER ENTERING A LETTER" <<endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	cout << "OTHER PLAYER WILL NOW ATTEMPT TO DECODE THE SCRAMBLED ALPHABET" << endl;
	system("PAUSE");
	system("cls");
	if (a=a,
	b=b,
	c=c,
	d=d,
	e=e,
	f=f,
	g=g,
	h=h,
	i=i,
	j=j,
	k=k,
	l=l,
	m=m,
	n=n,
	o=o,
	p=p,
	q=q,
	r=r,
	s=s,
	t=t,
	u=u,
	v=v,
	w=w,
	x=x,
	y=y,
	z=z){
	cout << a;
	cout << e;
	cout << i;
	cout << o;
	cout << u;
	cout << c;
	cout << b;
	cout << v;
	cout << x;
	cout << p;
	cout << l;
	cout << k;
	cout << w;
	cout << r;
	cout << g;
	cout << h;
	cout << n;
	cout << m;
	cout << q;
	cout << s;
	cout << d;
	cout << f;
	cout << j;
	cout << t;
	cout << y;
	cout << z << endl;
	system("PAUSE");}
	PlayAgain=true;
	while (PlayAgain==true);
	cout << "REARRANGE THE ALPHABET, SO IT IS STILL IN IT'S CODED FORM BUT IN ITS CORRECT ORDER; NO SPACES OR PUNCTUATION" << endl;
	system("PAUSE");
	cin >> a;
	cin >> b;
	cin >> c;
	cin >> d;
	cin >> e;
	cin >> f;
	cin >> g;
	cin >> h;
	cin >> i;
	cin >> j;
	cin >> k;
	cin >> l;
	cin >> m;
	cin >> n;
	cin >> o;
	cin >> p;
	cin >> q;
	cin >> r;
	cin >> s;
	cin >> t;
	cin >> u;
	cin >> v;
	cin >> w;
	cin >> x;
	cin >> y;
	cin >> z;
	cout << "CALCULATING..." << endl;
	if (a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h,i=i,j=j,k=k,l=l,m=m,n=n,o=o,p=p,q=q,r=r,s=s,t=t,u=u,v=v,w=w,x=x,y=y,z=z){ 
	cout << "CONGRADULATIONS!!" << endl; PlayAgain=false;}
	else {cout << "YOU FAILED; RESTARTING..." << endl;
	PlayAgain=true;  //edited {}
	system("PAUSE");}
}

does this look better?
does this look better?

PlayAgain looks better, but the rest does not.

Lines 87-112 and line 171, two things wrong here.
1) Not clear what you're trying to do here. a=a is an assignment, assigning the value of a back to a. That does nothing. twiggystardust suggested you needed the equality operator (==), instead of the assignment operator, but that won't fix anything. a==a will always evaluate to true. Again, accomplishing nothing.
2) You're misusing the comma operator. The comma operator causes each of the expressions to be evaluated, but only the last evaluation is used to evaluate the if statement. z=z will always evaluate true.

Line 174: A couple of things wrong here also:
1) PlayAgain is going to be forced to true at line 174 regardless of whether it was set to false at line 172.
2) Your program is going to terminate regardless of the setting of PlayAgain. You need a loop that will take you back to the start of the program.

BTW, you really should learn to use arrays. An array of 26 letters is a lot simpler to deal with than 26 individual variables.


Is there a link or example that I can look at?

I learn better with examples

Anyways, the program is meant for two players, player 1 enters a character for each letter and player 2 attempts to arrange the scrambled alphabet in its correct order. Lines 87-112 is the first player's turn to enter characters as a code, declaring that the cin value is inputted into the variable's value. Line 171 is the second player's attempt to rearrange the alphabet, specifically detecting if the player entered the correct answer.

 
bool PlayAgain

Is the looping system that loops back to the 2nd player's turn, and should only be activated if the answer is incorrect.
Is there a link or example that I can look at?

Of what?

There are lots of good tutorials on this site. Most have examples.
Use the search box at the top of the page.

Lines 87-112 and line 171 are if statements, but they make no sense for the reasons I listed above. They do not do what you are expecting.

I mised the while statement at line 141. That statement also does not do anything. The ; terminates the while statement. You need to put {} around the section of code you want repeated while PlayAgain is true.

I am getting errors that i have not received before, marked with the //

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#include <iostream>
using namespace std;
int main(){
	char a;
	char b;
	char c;
	char d;
	char e;
	char f;
	char g;
	char h;
	char i;
	char j;
	char k;
	char l;
	char m;
	char n;
	char o;
	char p;
	char q;
	char r;
	char s;
	char t;
	char u;
	char v;
	char w;
	char x;
	char y;
	char z;
	bool PlayAgain;
	cout << "ENTER A CHARACTER TO USE AS EACH LETTER OF THE ALPHABET; HIT ENTER TWICE AFTER ENTERING A LETTER" <<endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	cout << "OTHER PLAYER WILL NOW ATTEMPT TO DECODE THE SCRAMBLED ALPHABET" << endl;
	system("PAUSE");
	system("cls");
	if (a=a,
	b=b,
	c=c,
	d=d,
	e=e,
	f=f,
	g=g,
	h=h,
	i=i,
	j=j,
	k=k,
	l=l,
	m=m,
	n=n,
	o=o,
	p=p,
	q=q,
	r=r,
	s=s,
	t=t,
	u=u,
	v=v,
	w=w,
	x=x,
	y=y,
	z=z){
	cout << a;
	cout << e;
	cout << i;
	cout << o;
	cout << u;
	cout << c;
	cout << b;
	cout << v;
	cout << x;
	cout << p;
	cout << l;
	cout << k;
	cout << w;
	cout << r;
	cout << g;
	cout << h;
	cout << n;
	cout << m;
	cout << q;
	cout << s;
	cout << d;
	cout << f;
	cout << j;
	cout << t;
	cout << y;
	cout << z << endl;
	system("PAUSE");}
	while (PlayAgain==true){ //error #3 occurs here, 'PlayAgain' used without being initialized
	cout << "REARRANGE THE ALPHABET, SO IT IS STILL IN IT'S CODED FORM BUT IN ITS CORRECT ORDER; NO SPACES OR PUNCTUATION" << endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	system("PAUSE");
	cout << "CALCULATING..." << endl;}
	if (a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h,i=i,j=j,k=k,l=l,m=m,n=n,o=o,p=p,q=q,r=r,s=s,t=t,u=u,v=v,w=w,x=x,y=y,z=z){ 
		cout << "CONGRADULATIONS!!" << endl; PlayAgain=false;}
	else {cout << "YOU FAILED; RESTARTING..." << endl;
	PlayAgain=true; 
	system("PAUSE");}

	}//Run-Time Check Failure #0 - 
	//The value of ESP was not properly saved across a function call.  
	//This is usually a result of calling a function declared with one calling 
	//convention with a function pointer declared with a different calling convention. 


Can someone identify the problem and state a solution because the error message makes no sense to me.
Last edited on
Line 30: PlayAgain is not initialized.
Line 140: What value do you think PlayAgain has at this point?
Hint: garbage.

You have not corrected any of the errors I've pointed out regarding your if statements.



So I should change line 30 to read:
 
bool PlayAgain=true

Changes have been made, marked with the //
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
#include <iostream>
using namespace std;
int main(){
	char a;
	char b;
	char c;
	char d;
	char e;
	char f;
	char g;
	char h;
	char i;
	char j;
	char k;
	char l;
	char m;
	char n;
	char o;
	char p;
	char q;
	char r;
	char s;
	char t;
	char u;
	char v;
	char w;
	char x;
	char y;
	char z;
	bool PlayAgain=true; //PlayAgain is set to true by default
	cout << "ENTER A CHARACTER TO USE AS EACH LETTER OF THE ALPHABET; HIT ENTER TWICE AFTER ENTERING A LETTER" <<endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	cout << "OTHER PLAYER WILL NOW ATTEMPT TO DECODE THE SCRAMBLED ALPHABET" << endl;
	system("PAUSE");
	system("cls");
	if (a=a,
	b=b,
	c=c,
	d=d,
	e=e,
	f=f,
	g=g,
	h=h,
	i=i,
	j=j,
	k=k,
	l=l,
	m=m,
	n=n,
	o=o,
	p=p,
	q=q,
	r=r,
	s=s,
	t=t,
	u=u,
	v=v,
	w=w,
	x=x,
	y=y,
	z=z){
	cout << a;
	cout << e;
	cout << i;
	cout << o;
	cout << u;
	cout << c;
	cout << b;
	cout << v;
	cout << x;
	cout << p;
	cout << l;
	cout << k;
	cout << w;
	cout << r;
	cout << g;
	cout << h;
	cout << n;
	cout << m;
	cout << q;
	cout << s;
	cout << d;
	cout << f;
	cout << j;
	cout << t;
	cout << y;
	cout << z << endl;
	system("PAUSE");}
	while (PlayAgain==true){ 
	cout << "REARRANGE THE ALPHABET, SO IT IS STILL IN IT'S CODED FORM BUT IN ITS CORRECT ORDER; NO SPACES OR PUNCTUATION" << endl;
	system("PAUSE");
	cin >> a;
	system("PAUSE");
	cin >> b;
	system("PAUSE");
	cin >> c;
	system("PAUSE");
	cin >> d;
	system("PAUSE");
	cin >> e;
	system("PAUSE");
	cin >> f;
	system("PAUSE");
	cin >> g;
	system("PAUSE");
	cin >> h;
	system("PAUSE");
	cin >> i;
	system("PAUSE");
	cin >> j;
	system("PAUSE");
	cin >> k;
	system("PAUSE");
	cin >> l;
	system("PAUSE");
	cin >> m;
	system("PAUSE");
	cin >> n;
	system("PAUSE");
	cin >> o;
	system("PAUSE");
	cin >> p;
	system("PAUSE");
	cin >> q;
	system("PAUSE");
	cin >> r;
	system("PAUSE");
	cin >> s;
	system("PAUSE");
	cin >> t;
	system("PAUSE");
	cin >> u;
	system("PAUSE");
	cin >> v;
	system("PAUSE");
	cin >> w;
	system("PAUSE");
	cin >> x;
	system("PAUSE");
	cin >> y;
	system("PAUSE");
	cin >> z;
	system("PAUSE");
	cout << "CALCULATING..." << endl;
	if (a=a,b=b,c=c,d=d,e=e,f=f,g=g,h=h,i=i,j=j,k=k,l=l,m=m,n=n,o=o,p=p,q=q,r=r,s=s,t=t,u=u,v=v,w=w,x=x,y=y,z=z){ 
		cout << "CONGRADULATIONS!!" << endl; PlayAgain=false; system("PAUSE");}
	else {cout << "YOU FAILED; RESTARTING..." << endl;
	PlayAgain=true; 
	system("PAUSE");}} //second bracket moved 

	}
AbstractionAnon wrote:
You have not corrected any of the errors I've pointed out regarding your if statements.



Topic archived. No new replies allowed.