Jump to content
  • Advertisement

Archived

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

Wachar

Header Unknown

This topic is 5918 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

What is the header for the function clr() in console apps(MSVC++)?
What does it take to be a good game programmer? --- Good insight, good knowledge, and of course, big money deposits!

Share this post


Link to post
Share on other sites
Advertisement
There is no standard way to clear the screen. It depends on your compiler/OS/etc.. For MSVC++ you can use:

system("cls");

Most other compilers have some form of clrscr() function in conio.h, but MSVC++ doesn''t

MSVC++ 6
DirectX 7

Share this post


Link to post
Share on other sites
Thanks!



What does it take to be a good game programmer?
---
Good insight,
good knowledge,
and of course,
big money deposits!



Share this post


Link to post
Share on other sites
quote:
Original post by jdinger2
Most other compilers have some form of clrscr() function in conio.h

That''s true if you consider "most other compilers" to be mostly made up of Borland products .

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!