• Advertisement

Archived

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

Header Unknown

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