DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: Clear Screen

  1. #1
    Cathy Guest

    Clear Screen


    I am writting a small program in visual C++ and can not find
    the header file that will let me clear the screen.

    Can anyone tell me if there is such a file and how I can
    accomplish this?



  2. #2
    jonnin Guest

    Re: Clear Screen


    "Cathy" <urlive@hotmail.com> wrote:
    >
    >I am writting a small program in visual C++ and can not find
    >the header file that will let me clear the screen.
    >
    >Can anyone tell me if there is such a file and how I can
    >accomplish this?
    >
    >


    if in dos window, include the header for "system" (i forget the exact .h,
    see related posts.) and call system ("cls"); to execute the dos clear screen.

    If in a graphics mode, it depends on which you are using.



  3. #3
    Andy Friedman Guest

    Re: Clear Screen

    > if in dos window, include the header for "system" (i forget the exact .h,
    > see related posts.)


    <process.h>

    -Andy



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links