Dos Clearing?

Results 1 to 14 of 14
  1. #1
    Learning. lordvladek is offline
    Grand MasterRank
    Mar 2006 Join Date
    872Posts

    Dos Clearing?

    I cant really explain this in the title. What I mean is I have a program im making in dos. But is there any way to clear it up such as after it switches from one thing to another without having to use cout << "\n\n\n\n\n\n\n\n\n"; Basically without using \n a billion times?


  2. #2
    Grand Master username1 is offline
    Grand MasterRank
    Jul 2004 Join Date
    5,867Posts
    That's normal. It's supposed to scroll up as new text is added. That's why it's called a console

  3. #3
    :drools: GriffinHeart is offline
    Grand MasterRank
    Sep 2003 Join Date
    With u :)Location
    1,451Posts
    ermmm...cls works for me

  4. #4
    Sorcerer Supreme Sprayz is offline
    Member +Rank
    Nov 2006 Join Date
    Alive : Spain | Dead : Beer Vulcano HeavenLocation
    279Posts
    btw console is not dos

  5. #5
    Grand Master FragFrog is offline
    Grand MasterRank
    Aug 2004 Join Date
    The NetherlandsLocation
    5,629Posts
    Actually, it does. DOS stands for Demanding Operating System, ie, an operating system where you have to input text before it can respond. Linux' CLI for isntance is also a DOS.

    What you probably mean is that console isn't MS DOS, which is correct, since there are many more then just Microsofts one

  6. #6
    Sorcerer Supreme Sprayz is offline
    Member +Rank
    Nov 2006 Join Date
    Alive : Spain | Dead : Beer Vulcano HeavenLocation
    279Posts
    owned ;D

  7. #7
    :drools: GriffinHeart is offline
    Grand MasterRank
    Sep 2003 Join Date
    With u :)Location
    1,451Posts
    ok then...

    MS-DOS - cls
    Linux - clear

    How the fk can u tell it's not MS DOS he's talking about since he didn't refered any DOS and the only DOS peeps normaly talk about is MS DOS.

    anyways it will only work if he's doing a batch file and not a "program" (read as something that doesnt run commands directly onto the console)

  8. #8
    Learning. lordvladek is offline
    Grand MasterRank
    Mar 2006 Join Date
    872Posts
    Ok im running the file in MS DOS im sorry i didnt say it right the first time. And its a console win32.. And thanks didnt think there was, was just hoping.

  9. #9
    :drools: GriffinHeart is offline
    Grand MasterRank
    Sep 2003 Join Date
    With u :)Location
    1,451Posts
    u can allways make a call to cls something like System(cls) i think, anyways if it doesn't work i'm sure there are a lot of libraries around the internet with such function if u don't want to code it

  10. #10
    Learning. lordvladek is offline
    Grand MasterRank
    Mar 2006 Join Date
    872Posts
    na its fine. im just makin a last contribution to muonline ^^

  11. #11
    Newbie xXZyZXx is offline
    MemberRank
    Oct 2006 Join Date
    19Posts
    Quote Originally Posted by FragFrog View Post
    Actually, it does. DOS stands for Demanding Operating System, ie, an operating system where you have to input text before it can respond. Linux' CLI for isntance is also a DOS.

    What you probably mean is that console isn't MS DOS, which is correct, since there are many more then just Microsofts one
    More like Disk Operating System amrite?
    Code:
    system("cls");
    Last edited by xXZyZXx; 24-12-06 at 06:20 AM.

  12. #12
    Watching from above Negata is offline
    LegendRank
    Apr 2004 Join Date
    FinlandLocation
    5,455Posts
    Quote Originally Posted by xXZyZXx View Post
    More like Disk Operating System amrite?
    Code:
    system("cls");
    Was going to say the same. Not many things are more rewarding than getting to correct FF. (aka fruityfrog) :D

  13. #13
    Learning. lordvladek is offline
    Grand MasterRank
    Mar 2006 Join Date
    872Posts
    Yeah i figured out that system("cls") works. i thought this thread died.

  14. #14
    Grand Master FragFrog is offline
    Grand MasterRank
    Aug 2004 Join Date
    The NetherlandsLocation
    5,629Posts
    Quote Originally Posted by Negata View Post
    Was going to say the same. Not many things are more rewarding than getting to correct FF. (aka fruityfrog) :D
    Damn you Minas!

    And I stand corrected, looked it up on Wikipedia and its indeed disk operating system, not demanding operating system. Wonder where I got that idea from :eh:



Advertisement