Jump to content
  • Advertisement
Sign in to follow this  
soumitsalman

OpenGL can't use STL in a file with OpenGL codes

This topic is 4033 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 everyone, im back again with a problem. in a my cpp files with opengl codes if i include say vector and then write "using namespace std;" it generates compile error saying namespace std cannot be found. i use visual studio dot net 2005. i had the same problem with visual studio 6.0 . does any one have any solution for this ? [I apologize if im not supposed to place the problem in this forum] -- Soumit Salman

Share this post


Link to post
Share on other sites
Advertisement
Can you post the source? Also post the errors in full.

In future always post the source and errors where you can. If the source is too long try make a minimalistic example which contains the same errors by sripping the code down.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!