Hello everyone.
I am a new C++ learner and I have a question, is there only a constant C++ syntax in the world or there are many different types of C++?
Because last month when I surf internet to see somebody made his own C++ program, I saw it his C++ syntax is different with mine(not C).
The C++ syntax I learnt is:
#include<iostream.h>
main()
{
int x;
cout<<"Simply insert a number(in integer): ";
cin>>x;
cout>>"\nYour integer is : "<<x;
return 0;
}
The syntax above is an example of my C++ syntax that I'm learning.
Got any different types of C++? Anyone please answer me, thanks. :)