I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
If int main() is a function, shouldn't you have to put main(); at the end of your program?
I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
If int main() is a function, shouldn't you have to put main(); at the end of your program?
All of what exactly?Originally posted by Stan100
I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
The pause used in your example is simply a DOS (nowadays Windows console) command. You can do DIR, REN etc etc
The commands themselves are OS specific, btw, but system() is an ANSI function.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
If you have WinXP or 2000 you can just type in "HELP" in the command prompt and it will display all the possible commands with an explanation.
My Avatar says: "Stay in School"
Rocco is the Boy!
"SHUT YOUR LIPS..."
Do you mean different functions or what? I amOriginally posted by Stan100
I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
sorry,
cj
"Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
-Bruce Lee
I think Stan wants to know where he can find more functions like system("PAUSE"). The answer to that would be to go take a look in your include directives.
And a prize goes to techwins. Tell him what he won!