#include "cluedo.h"
#include "grader.h"
#include <bits/stdc++.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
void solve(){
int r,i=1,k=1,j=1;
BEGIN:
r=Theory(i,k,j);
if(r==0){
return;
}else if(r==1){
i+=1;
goto BEGIN;
}else if(r==2){
k+=1;
goto BEGIN;
}else if(r==3){
j+=1;
goto BEGIN;
}
}
Compilation message
/usr/bin/ld: /tmp/ccMF91LO.o: in function `main':
grader.c:(.text.startup+0x49): undefined reference to `Solve()'
collect2: error: ld returned 1 exit status