answersLogoWhite

0

Clearing screen in DEV C++ compiler :

#include
int main()
{
system("cls");
}








OR: Permanent solution :-
Paste the following text in "C:\Dev-Cpp\include\conio.h" of your system


#include
#include
void clrscr()
{
system("cls");
}




Then you can use clrscr() as a normal built in function under !!!!!!!!!!!

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the difference of C to C plus plus and Dev C?

C and C++ are both programming languages whereas Dev C++ is an implementation of C/C++. Dev C++ is free, was written in Delphi and includes the MinGW compiler.


Will particular C program be compatible for both g c c and DEV Cpp compiler?

That is possible. Try it.


What is better turbo c or dev C?

Depends upon the personal opinion. They both are different IDE. Dev C used the MICGW compiler while Turbo C uses Borland compiler. Hence due to this, certain inbuilt functions will not work in Dev C. clrscr() is one such function. However Turbo C is outdated and does not use follow many of the programming standards.


How do you get allegro to work on dev c plus plus?

To get Allegro working with Dev-C++, first download the Allegro library suitable for your system. Then, set up your Dev-C++ environment by adding the Allegro include and library directories in the "Compiler Options" under the "Directories" tab. Next, link the necessary Allegro libraries by adding them in the "Linker" section of the project options. Finally, include the required Allegro headers in your source code and ensure the Allegro DLLs are in your project's directory when you run the program.


What are the objects used in dev c plus plus?

Objects in Dev C++ are the same as objects in generic C++, insofar as an object is an instance of a class.


Which is better dev c plus plus or Microsoft Visual C plus plus 2008 Express Edition?

Dev c++ is a good tool, but it's outdated. VS is the best for software development especially with shareware license.


Which is the only film in which Dev Anand and Dilip Kumar shared screen space?

Dev Anand and Dilip Kumar shared the screen once. The name of the movie was Insaaniyat. It was released in the year 1955.


What was the screen name of amitabh bachchan in sholay?

Amitabh played the character of Jai Dev


How do you draw in Dev c plus plus?

Download and install the WinBGIM Devpack. Once installed, you can include graphics.h to draw graphics.


How do you study the C programming?

Hi, Best is to start with the book "The C programming Language" by Kernighan & Ritchie. Make sure you have a computer with a C development environment (editor, compiler etc.) so that you can try out the exercises in the book. If you have a Linux desktop, it would probably have the gcc compiler suite which you can use. Hope this helps. - Ramki. Start with "How to program in C++" By B.Strastup. Use Dev C++ for free C++ compiler.


How do you study c programming?

Hi, Best is to start with the book "The C Programming Language" by Kernighan & Ritchie. Make sure you have a computer with a C development environment (editor, compiler etc.) so that you can try out the exercises in the book. If you have a Linux desktop, it would probably have the gcc compiler suite which you can use. Hope this helps. - Ramki. Start with "How to program in C++" By B.Strastup. Use Dev C++ for free C++ compiler.


How can you write a c program in command prompt?

For this, you need at least two things: a text editor (like notepad, edit, vi, whatever) and a c compiler. c programs are written as text files, but you can't execute your code without the compiler. There are free c compilers available, like gcc and dev-c++.