Clearing the screen in dos
I can''t seem to remember what the clear screen funciton is in dos. Or where I have to get it from. I remeber clrscn or something like that. Any help here would be great thanks
I forget the exact name of the function, it usually depends on what compiler you have.
But, whatever the function is, you should be able to find it in the #include file "conio.h" - open it up with a text editor and see if you can find it!
// CHRIS
But, whatever the function is, you should be able to find it in the #include file "conio.h" - open it up with a text editor and see if you can find it!
// CHRIS
// CHRIS [win32mfc]
April 28, 2001 01:57 PM
If you''re using the latest version of Visual C++ you may be out of luck. For some reason Microsoft didn''t include all the conio.h functions. Useful functions like clrscr() and gotoxy() are missing.
Thanks thats the function I was forgetting, been awhile since I messed with dos, thanks again
Glandalf
Glandalf
MSVC cannot compile for DOS. It can, however, compile to a Windows Console mode application, which means you can use Windows Console API functions, like this:
http://druidgames.cjb.net/
|
http://druidgames.cjb.net/
..or you could do it fast, which is what you should do. Some inline asm for ya:
|
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement