can't use STL in a file with OpenGL codes

Started by
1 comment, last by _swx_ 16 years, 9 months ago
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 ? – Soumit Salman
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.
are you including <vector> and not <vector.h>?

This topic is closed to new replies.

Advertisement