Sign in to follow this  
soumitsalman

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this