Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Console mode clear screen...
|
Posted: Apr 2, 2003 11:33 AM
|
|
Since out is a stream, clearing its "screen" doesn't make sense.
What operating system are you using? I posted an RMI example that did this for Windows some time ago (you can find it by searching these forums - I don't remember whether it is in the current forum or the legacy one, but you can search both).
If you are on Linux (or Unix), I think it would be a snap to make the same RMI code work for that platform, as well (if the clrscr() call in conio.h is not the same, it is probably very similar). Then you just write a little wrapper to check what platform and use the appropriate RMI call.
|
|