"Sebastian Becker" <sb*******@gmx.net> wrote in message
news:cs**********@anderson.hrz.tu-chemnitz.de...
Hello,
are there any other other possibilities to clear the screen (MS-DOS)
then clrscr(turns the background grey) and VT-100 escape (don't do
anything) commands ? Both don't seem to work on my embedded system.
This is exactly why C++ does not provide support for these
hardware-specific operations -- C++ is by design platform
independent, intended to be implementable on the widest
variety of platforms, all of which don't necessarily share
the same hardware components. (e.g. C++ implementations
could be (and have been) created for platforms which don't
have video displays (or keyboards, etc.) at all.
What you want to do requires platform specific features,
typically provided via special keywords or library extensions
by implementations targeting a given platform.
IOW check your implementation and/or OS documentation, and/or
support resources for them.
-Mike