Endl Console

Posts 1–5 of 5 · Page 1 of 1
Endl Console
Solved, Now how I return to Int main () ?
you run main(); lol


say you had

int SomeFunctionHere();

you'd run SomeFunctionHere(); wherever you would like to execute that function (and yeah parse variables and shit through its parameters, but in short, use main(); )
Quote Originally Posted by headhunter420 View Post
you run main(); lol


say you had

int SomeFunctionHere();

you'd run SomeFunctionHere(); wherever you would like to execute that function (and yeah parse variables and shit through its parameters, but in short, use main(); )
It should be added that if you need to call main at any point in your program, it's usually due to a messed up flow in your programming. I mean, execution will start from main anyway and that's where you'll return after calling a function so there should never be a need to call it.
May i recommend you to read a tutorial?
Your program should start in main and end in main。Call functions いn main.
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us