Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

system("cls") ???

This topic is 5643 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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

=*=

Share this post


Link to post
Share on other sites
cls is not a function of system() per se - its a command in your command shell. Try typing 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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!