I have a great interest in learning how computers work and for this reason, I have started to learn programming. My first language is — C++! It is somewhat complex, but has striking features and is quick. It is a powerful language with OOPs (Object Oriented Programming).
#include
using namespace std;
int main()
{
cout << "\nHello World!" << endl;
return 0;
}
The above code is as simple as it gets — the basics of C++. It will simply print “Hello World” to the console. The object ‘cout’ plays the role of the function ‘printf’ in C.