How do I clear all the text off the screen in DOS-mode?
Thanks,
napKIN
Printable View
How do I clear all the text off the screen in DOS-mode?
Thanks,
napKIN
Turn off the monitor.
Seriously, read the FAQ.
imov, dont post unless you're going to help. i clear the screen with the system command:
Code:system("CLS");
1-IMOV's post wasn't useless. He told him to read the FAQQuote:
Originally posted by Leeman_s
imov, dont post unless you're going to help. i clear the screen with the system command:
Code:system("CLS");
2-If you would have read the FAQ you'd know that depending on your compiler/OS you can't just use system("CLS").
Heh, I guess so Imov....
Thanks alot Leeman, it seems you're the one who always answeres my questions:)
Do you need any header files for that?
napKIN
I read the FAQ, it extremely unhelpful and it tells me to read the FAQ...
FAQ on clearing screen
All I learned was the pros and cons of tossing my monitor out the window...
napKIN
That's because you didn't read the FAQ. You read a thread on the FAQ board.
Here's a link to the FAQ.
http://www.cprogramming.com/boardfaq.html
No one is trying to not help you. But TOO many times it has been explained here that depending on the OS/Compiler/app type (console/true Dos) there isn't a standard way to clear the screen. Leeman obviously doesn't know this (probably hasn't read the FAQ), so he told you what works for him. Which may or may not work for you.
The FAQ clearly explains all this. That's why it's there.
My mistake. I'll be sure to read it.
Thanks,
napKIN
Wow! Thats a lot of good stuff. Thanks to Lightatdawn!
napKIN
notice i said the words "i use...". that means that I USE that way. if i didnt know it was compiler specific, i would have said "YOU CAN USE". and jdinger, *I THINK* your first reply was pretty pointless, but lets not continue to argue. NOTE: *I THINK*
Leeman, I'm not arguing here. I was simply trying to make sure Napkin ( as well as you ) knew that the FAQ explained the possible ways to clear the screen, etc. My first reply was not pointless because I was trying to point him to the FAQ.
True you said "I use" but to someone who's new to the board and programming that's as good as saying "do this". We have to be careful what we post to help (even if it's in good intentions) just because we could lead someone to bad coding practices/ more problems than what they started with. Trust me on this ( Prelude set me straight a few times :D ).
I was never intending to argue with you ( notice I never once used an exclamation point are all CAPS or anything ). The only reason I bolded certain words was to make sure Napkin understood the situation entirely. I never meant to upset you.