+ 2
Why in this app return 0 is used
I have learnt that to use getch () as ending bt here return 0 is user can u help me out
5 Respostas
0
the return zero is just to see if your program executed correctly. on some compilers, after your program runs you will see "exited with status 0" or something like that. you should create a program that runs but doesn't work properly you will see your program will return probably a negative number
+ 1
Becus we use
int main() function
so we must
return 0;
I never use void main becus I'm always reach error
about getch() I use often
Or dont use becus I do openGL
The thing you told beginner Sure I'm one is I accept that becus I learn java and js to make a mod
+ 1
just for now learn it.
according to me u r just a beginner. you will learn its use after some time and use some other also( like return____. hear ____ can contain many things (which r in your coading))
+ 1
plz do not think why it is. just do it. u will know why it is as u will continue learning forward.
do not forget to tap on 👍 sign.
+ 1
Mmmmm I understand for now
In a match I just click wrong thing
Anyway
I wont tap that :P