system("cls") ???
I know that system("cls") is used with the header file stdlib.h,
but don''t know its exact function.
Any help would be great.
Its clear screen. system() will basically execute a command in the command prompt. Open up a command prompt and type cls for an example
=*=
If things seem bad, think that they can get a whole load worse, and they don''t seem so bad anymore
=*=
=*=
If things seem bad, think that they can get a whole load worse, and they don''t seem so bad anymore
=*=
Is there a list somewhere for all the system() functions?
The header file is to hard to read
Beatles are the best!
The header file is to hard to read
Beatles are the best!
cls is not a function of system() per se - its a command in your command shell. Try typing
For those who believe in God, most of the big questions are answered. But for those of us who can''t readily accept the God formula, the big answers don''t remain stone- written. We adjust to new conditions and discoveries. We are pliable. Love need not be a command or faith a dictum. I am my own God. We are here to unlearn the teachings of the church, state, and our educational system. We are here to drink beer. We are here to kill war. We are here to laugh at the odds and live our lives so well that Death will tremble to take us -- Charles Bukowski
help
at a command prompt. For those who believe in God, most of the big questions are answered. But for those of us who can''t readily accept the God formula, the big answers don''t remain stone- written. We adjust to new conditions and discoveries. We are pliable. Love need not be a command or faith a dictum. I am my own God. We are here to unlearn the teachings of the church, state, and our educational system. We are here to drink beer. We are here to kill war. We are here to laugh at the odds and live our lives so well that Death will tremble to take us -- Charles Bukowski
That system() function can actually call any executable or dos command. Keep in mind though that "cls" only working in text mode. What I''m referring to is technically a dos level command and won''t work if you are doing graphics in any other mode. =) I hope that helped!
-Lewis [m80]
Play QUADz MX @
www.m80produxions.com
-Lewis [m80]
Play QUADz MX @
www.m80produxions.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement