Header Unknown

Started by
3 comments, last by Wachar 21 years, 11 months ago
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!
Wachar's Eternity <-<-<-<-<- Me own site!
Advertisement
There is no such function as "clr".

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
MSVC++ 6DirectX 7
Thanks!


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


Wachar's Eternity <-<-<-<-<- Me own site!
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 .

This topic is closed to new replies.

Advertisement