STL vector class on OSX yet?

Mars_999
Unregistered
 
Post: #1
I am not sure about this but is STL included in OSX yet? Or can I get a library to use until it is a standard include with Xcode...

Thanks
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
what do you mean "yet"?!

GCC has always supported the STL on the Mac...
Quote this message in a reply
Mars_999
Unregistered
 
Post: #3
OneSadCookie Wrote:what do you mean "yet"?!

GCC has always supported the STL on the Mac...

Hmm... beats me I must not have setup Xcode to find it? Because I had errors. Oh well I will try it again. Been awhile since I looked at it.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #4
just write the code in a .cpp file, and #include <vector>, as you would anywhere else... no setup required.
Quote this message in a reply
Mars_999
Unregistered
 
Post: #5
OneSadCookie Wrote:just write the code in a .cpp file, and #include <vector>, as you would anywhere else... no setup required.


Ahead of you! Smile I just tried it and works fine... Odd I remember trying it about a year or so ago and had issues with it... Thanks
Quote this message in a reply
Post Reply