CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2003
    Location
    Orange County, CA
    Posts
    99

    Exclamation Clear the console screen???

    I used to know of a C++ command to clear the console screen. It was something like sys.clear, or system(clear), or something like that.
    Can anyone help me out? How can I clear the console screen?

    Any comments/suggestions will be greatly appreciated!

  2. #2
    Join Date
    Oct 2002
    Location
    Singapore
    Posts
    3,128
    Something like this?

    system("cls");

  3. #3
    Join Date
    Mar 2003
    Location
    Orange County, CA
    Posts
    99
    PERFECT!

    Thank you so much!

  4. #4
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

  5. #5
    Join Date
    Apr 2004
    Location
    Everywhere
    Posts
    14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured