Archived

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

Wachar

Header Unknown

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
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