PDA

View Full Version : STL vector class on OSX yet?


Mars_999
2005.03.29, 06:06 PM
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

OneSadCookie
2005.03.29, 06:34 PM
what do you mean "yet"?!

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

Mars_999
2005.03.29, 06:37 PM
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.

OneSadCookie
2005.03.29, 06:39 PM
just write the code in a .cpp file, and #include <vector>, as you would anywhere else... no setup required.

Mars_999
2005.03.29, 07:09 PM
just write the code in a .cpp file, and #include <vector>, as you would anywhere else... no setup required.


Ahead of you! :) I just tried it and works fine... Odd I remember trying it about a year or so ago and had issues with it... Thanks