thanks abotaleb, i only downloaded the header files but still whenever i use #include<stl/vector> it shows 33 errors like multiple declaration of pair etc( i have vector in my VC++ include folder also- is that causing the conflict? i have also included the path of the stl folder in the include directories of my compiler. am i missing something?
carlos, since you said that VC++ 6.0 doesn't have a free version so i assume that visual studio 8.0 must be available for free download. could you please recommend a website from where i should download VS 8.0? thanks a lot for the help again. tonka. On May 20, 1:47 am, Carlos Guia <[email protected]> wrote: > I would strongly suggest using a newer version of Visual > Studio, especially 2005 (v 8.0) or newer. > > 1) Version 6.0 is somewhat a rule violation since it doesn't have a free > (express edition) version. > 2) Problem 1 isn't that big if the code you write is standard enough to work > on newer VC++ or g++, but VC++ 6.0 has some standard violations, so you > may accidentally end up writing code that only works in that version and > won't be able to defend yourself as version 6.0 is not allowed. > 3) Newer versions have a better compiler, usually with faster generated code > and fully functional STL already inside. > > However, even though newer version have full STL, it isn't the fastest > implementation out there. If you still want to use a different STL > implementation I recommend you check STLport > athttp://stlport.sourceforge.net/. > > Carlos Guía > > > > > > On Wed, May 19, 2010 at 3:40 PM, tonka <[email protected]> wrote: > > i am currently using microsoft visual C++ 6.0 and last night i > > downloaded the standard template library which i found quite helpful > > after reading in a website. but the problem is that some of the header > > files in the STL are also present in the include folder of VC++ like > > vector, dequeue etc. So do i replace these with the ones that are in > > the downloaded STL folder or do i keep both. I tried keeping both but > > when i compile it says that there are multiple declarations. there are > > also some header files in the STL folder that are not present in the VC > > ++. Moreover the files that are common in both don't contain the same > > thing in them - so which one to keep? i would really like the pros to > > advise here. > > thanks in advance. > > > -- > > You received this message because you are subscribed to the Google Groups > > "google-codejam" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-code%2bunsubscr...@googlegr > > oups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-code?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-code?hl=en. -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
