int main(int argc, char *argv[]) {
int tempo = 100;
int trabalho = 0;
_Bool uni = argv[1];
while (uni == true) {
trabalho++;
if (trabalho > 0)
tempo--;
}
}
vida.exe -u 1
Introduza o termo a pesquisar e clique Enter.
int main(int argc, char *argv[]) {
int tempo = 100;
int trabalho = 0;
_Bool uni = argv[1];
while (uni == true) {
trabalho++;
if (trabalho > 0)
tempo--;
}
}
vida.exe -u 1
2 Comentários
Joel Calado
11 de Outubro de 2007 ás 21:45
Tens tempo negativo?
Dextro
11 de Outubro de 2007 ás 21:46
Se o ciclo continuar é bem capaz de acontecer LOL