cluedo.cpp: In function 'void Solve()':
cluedo.cpp:5:42: error: expected ')' before ';' token
while (int x = Theory(a[1], a[2], a[3]); x) --a[x];
^
cluedo.cpp:5:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (int x = Theory(a[1], a[2], a[3]); x) --a[x];
^~~~~
cluedo.cpp:5:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while (int x = Theory(a[1], a[2], a[3]); x) --a[x];
^
cluedo.cpp:5:14: warning: unused variable 'x' [-Wunused-variable]
while (int x = Theory(a[1], a[2], a[3]); x) --a[x];
^
cluedo.cpp:5:44: error: 'x' was not declared in this scope
while (int x = Theory(a[1], a[2], a[3]); x) --a[x];
^