1
I can not use function, I wanted to know how to return to a certain line of code when the number 0 is pressed, example:
system(color 7);
printf("Teste");
printf("Teste01");
printf("Pressione 0 para reiniciar");
scanf("%d", &jog);
Now how do I get it to type 0, the run back to the line of system()
? With function would be easy, but I can not use so as I will do?
Why wouldn’t it be the best option?
goto
is flow control :P– Marciano.Andrade
@Marciano.Andrade I believe that creating functions is better :)
– Maicon Carraro
I also think creating function makes the code cleaner etc. But that’s what I wanted, thank you
– Leonardo