STL from visual C++ in Unix???
-
Hi I wrote code using MS Visual C++ 6.0 and used different kinds of containers and algorithms from the STL. Can I take my code to be compiled and run in Unix without fuss? Thanks!
knapak wrote: Can I take my code to be compiled and run in Unix without fuss? Have A try!
[Vote One Here, Complete my Survey....] Alok Gupta
visit me at http://www.thisisalok.tk "I Think Believe this Will Help" -
Hi I wrote code using MS Visual C++ 6.0 and used different kinds of containers and algorithms from the STL. Can I take my code to be compiled and run in Unix without fuss? Thanks!
Why not download GCC (which includes STL, IIRC) from here[^] and try it :-) GCC is the most widely used compiler on Linux/Unix, so this Windows version is the easiest to try! You may have some problems - some parts of MSVC6 STL (and MSVC for that matter!) aren't compliant with the C++ standard. There's a few things in std::string that aren't right and all the member template functionss defined in the standard aren't member template functions in MSVC STL. However, there shouldn't be too many Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'
-
Hi I wrote code using MS Visual C++ 6.0 and used different kinds of containers and algorithms from the STL. Can I take my code to be compiled and run in Unix without fuss? Thanks!