Begginer C++ Error

Hey guys, im just learning C++ and i really want to learn it, but im having some compiling errors and i've looked around and i dont know what else to do. So i was hoping one of you guys could help me out.

your statement std::cout << "Enter first integer\n"; is wrong. Because the keyword ::
is the scope resolution key word. here is incorrect.
you should remove it from here.

Click to expand...

Please dont spread wrong information. First :: is not a keyword it is a scope resolution operator. Second first verify your post with any good C++ compiler, if you dont have access to any then check your code with online C++ compiler from here

A namespace member can also be referred to after the :: scope resolution operator (5.1) applied to the name of its namespace or the name of a namespace which nominates the member’s namespace in a using-directive;
see 3.4.3.2.