answersLogoWhite

0

What is clear screen in c plus plus?

Updated: 8/19/2019
User Avatar

Wiki User

10y ago

Best Answer

For computers that have Windows installed, you can use System("CLS"); to clear the screen. This statement calls on the operating system to find the "cls" command and execute it. However, this statement makes your program less portable as it makes it dependent on the Windows OS in order to clear the screen.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is clear screen in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the syntax of clear screen in c plus plus?

It must be done by a platform-dependent function, it's "clrscr" from conio.h in TurboC


How do you print to the screen in C plus plus?

printf();


How do you clear input buffer in c plus plus?

cin.clear();


How do you clear the screen in Dev C plus plus compiler?

Clearing screen in DEV C++ compiler :#includeint main(){system("cls");}OR: Permanent solution :-Paste the following text in "C:\Dev-Cpp\include\conio.h" of your system#include#includevoid clrscr(){system("cls");}Then you can use clrscr() as a normal built in function under !!!!!!!!!!!


What is clear in c plus plus?

clear() is an inbuilt function defined in c++ defined in conio.h. It is used for clearing the console. The systax is:clear();


In Linux platform which c function is used to clear a screen?

use system("clear"); eg: main() { system("clear"); }


Why is the background screen of c plus plus blue?

It has to be some color and blue is nice.


How to you use clear screen in turbo C?

by using "clrscr" command at starting of the program


How can you clear screen in c without clrscr?

You can use system("cls") function with stdlib.h


How do you write a C plus plus program that displays a pyramid of Xes on the screen using a for loop?

printf ("x")


Why the background colour of turbo c plus plus is blue?

I want my C++ program become interesting How can I change the color of background and color of font even size of font......... I will always use system("cls") to clear there screen..... so I want do C++ DOS into something we call presentation like powerpoint Haha........ Any tutorial? That all Thank you


How do you display del symbol on output screen using C Plus Plus?

The del character, #255, has no symbol. It is a non-printing character, so you cannot display it on the screen.