Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-16-2004, 03:26 PM   #1 (permalink)
MiLo
Registered User
 
Join Date: Jun 2004
Location: Canada
Posts: 1
MiLo is on a distinguished road
Clear the screen in Dev CPP

Im just downloaded Dev CPP and trying to complile i found out that my old compiler (TC LITE) clears the screen differently. It used clrscr(); but that doesnt' work. How do i do it in Dev?
MiLo is offline   Reply With Quote
Old 03-07-2005, 03:33 PM   #2 (permalink)
Tarquini
Registered User
 
Join Date: Mar 2005
Posts: 2
Tarquini is on a distinguished road
The only way that I know to clear the screen in a program is to send CLS command to the system. Like this.
Code:
#include <stdlib.h>

int main()
{
     system("cls");
     return 0;
}
Tarquini is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
setviewport() & clearviewport() How DONT blink the screen?? _Deus() Platform/API C++ 0 07-09-2004 09:02 PM


All times are GMT -8. The time now is 11:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting