• Advertisement
Sign in to follow this  

Mac C++ vector question

This topic is 3920 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

This is my first time using the stl on a mac. I have used it on other platforms so I am not sure what I am doing wrong here maybe there is a framework or something not getting set up correctly. Anyway the line vector<int> v; gives me the message error: expected constructor,destructor, or type conversion before '<' token

Share this post


Link to post
Share on other sites
Advertisement
Thanks, I had forgotten the std::. sad part is there was a std::string on the line above it.

Share this post


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

  • Advertisement