answersLogoWhite

0

What is clear in c plus plus?

Updated: 11/19/2022
User Avatar

Wiki User

11y ago

Best Answer

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

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

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

Can you declare a method within a method in c or c plus plus?

C: there are no methods in C. C++: no.


What is the different of c and c plus plus?

c is procedure oriented and c++ is object oriented & much newer.


How A plus B plus C plus D plus 80 plus 90 equal to 100 what is the value of A B C and D?

If a + b + c + d + 80 + 90 = 100, then a + b + c + d = -70.


In computer language C plus plus is related to?

C++ is related to C, the language from which it is derived.


What is meant by println in c plus plus?

println is not a C++ keyword.

Related questions

How do you clear input buffer in c plus plus?

cin.clear();


Can anyone give you the c plus plus code to check where the line ax plus by plus c cuts the circle x2 plus y2 plus 2gx plus 2fy plus c equals 0 where a b c g f are entered by the user?

Your question is not clear. Please give the formula to calculate the value of x and the condition at which the line cuts the circle


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


In c plus plus does the function name is its operand and the parentheses that follow the names are its operator?

No. (Your question not really makes sense, but the answer is clear: no)


How do you erase a line in c plus plus?

Include: #include "windows.h". To erase use the system("CLS"); for XP, system("Clear"); for Linux.


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


B plus b plus b plus c plus c plus c plus c equals?

b + b + b + c + c + c + c = 3b + 4c


Symplify c plus c plus c plus c?

4c


What is c plus c plus c plus c plus c?

c + c + c + c + c = 5 * c.


Primary and secondary key in c and c plus plus?

There are no "primary and secondary keys" in c and c plus plus.


What is clear screen in c plus plus?

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.