It must be done by a platform-dependent function, it's "clrscr" from conio.h in TurboC
Yes
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.
Primarily OOP support, but there are minor syntax difference. By and large anything you can do in C you can also do in C++.
C++ Extension Name is... Syntax is: File Name.extension name. Ex: ankit.cpp
std::cout<<42<<std::endl;
Object-oriented programming principals, a more consistent syntax and improved type-safety.
printf();
C++ uses a syntax that is exactly the same as in C, with the addition of reserved words that are specific to C++. C ++ menggunakan sintaks yang persis sama seperti di C , dengan penambahan kata-kata reserved yang khusus untuk C++.
The answer is really beyond the scope of this site. You would probably need to buy a textbook.
type variable {[optional array size]} {= optional initializer};
No. Java takes some ideas from C++, so there are certain similarities, especially in the basic syntax. But it is a different language.
cin.clear();