There is no color, graphics, soiund, or mouse in standard C++.
Quote:
Originally Posted by Welshy
that just plan sucks, thanks anyway mate
FYI - There is no color, graphics, sound, or mouse in ANSI/ISO Standard C++. This means that not all compilers have these features, and each compiler will have different headers and functions for these things. That's why SirCrono6 asked you "Which Compiler?"
There are functions that are standard in all Windows compilers, so the Windows-console functions from the link above should work with any compiler that can make Windows applications. And conio.h is psudo-standard... lots of compilers include it.
Of course, it's OK to include non-standard (non-portable) code in your programs. But you should know when you're doing it, and sometimes you might want to keep the standard and non-standard stuff in separate modules (separate source files).