Firstly, you don't need the scope resolution operator on the standard namespace, as you already told the compiler you're using it all.
Secondly, main( ) doesn't return a numerical value.
Thridly, <stdlib.h> is a C header, not a C++ header. Instead, use the <cstdlib> header. Actually, you don't even need it in the code you posted.
Does the console shutdown immediately after execution? My guess is that it does. In that case, what you need to do is add cin.get( ) before the return statement. This will keep the console window open, until a key is pressed.
There's two possible interpretations for what you said, but in both cases you're wrong. Yes, it does.
In the code above, main( ) doesn't return a value, even though it should. I'm not thick, I do know that main( ) returns 0 if a returning value isn't specified. So instead of being bone idle, provide a returning value.