after a lot of hard work and some night's lost
we have a problem in the final
when we compile the hole game appear some errors
that say
in function 'frente2'
syntax error before 'int'
any ideia why?
best regards




Posted 16 January 2013 - 11:00 AM
in function 'frente2'
syntax error before 'int'
Posted 16 January 2013 - 11:10 AM
Posted 16 January 2013 - 11:22 AM
int frente2(int op11)
{
printf("A tua frente encontras o troféu. Parabéns acabas-te o jogo\n");
printf("Escolhe uma opção:\n");
printf(" | 1-Jogar de Novo |\n");
printf(" | 0-Acabar |\n");
do
{
scanf("%d", & op11);
}while(op11!=0 && op11!=1);//pede a opçao pertendida
switch(op11)//switch case... abre a escolha pertendida pelo utilizador, case 1 para opçao 1 e case 0 para 0
{
case 1://jogar de novo
int crazy();
break;
case 0://opçao k permite ao utilizador sair do jogo
int finish();
break;
}while(op11!=0);//ciclo do while. fica em ciclo continuo ate que o utilizador introduzir 0
}
Posted 16 January 2013 - 11:32 AM
int crazy();
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
