• Advertisement
Sign in to follow this  

:: ?? mvc++

This topic is 4258 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi. When I type :: in Microsoft visual c++ the intelliSense give me a lot to those from. I wander what this commands is?? Is it something mvc++ have inside it self. Thanks all code gurus.

Share this post


Link to post
Share on other sites
Advertisement
The :: is the scope resolution operator. When you preface an identifier with :: it looks up the symbol from within the global namespace. So ::sin would look up the sin symbol in the global namespace, as compared to std::sin which would look up sin in the std namespace.

Share this post


Link to post
Share on other sites
When you type it with no left hands side at the most global scope possible the list brings up everything.

Dave

Share this post


Link to post
Share on other sites
oki. it is a lot of commands in the list... i don´t think i need the commands yet. but it´s good to know.

Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement