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

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
ReneRene
Change my mind. I dare you.
Chat with Rene
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: How do you clear the screen in Dev C plus plus compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp