Re: Solution needed..urgent!!
On Oct 23, 3:50 pm, Stuart Golodetz
<sgolod...@NdOiSaPlA.pMiPpLeExA.ScEom> wrote:
Juha Nieminen wrote:
Ankur Arora wrote:
Do not use STL.
Any rational reason for this?
By not allowing you to use STL, they encourage you to write
your own classes to do the same thing - the process of
reinventing the wheel will convey to you (a) a fair amount
about the STL, (b) an understanding of why reinventing the
wheel is generally to be avoided and (c) a healthy
appreciation of the hard work put in by the people who have
worked on the STL over the years.
I'm not so sure about that. Writing a simple array class which
is usable in one particular context is actually very simple.
Designing the interface so that it can be generally usable in
the widest number of different contexts is another matter, not
to mention implementing it in a manner so that it will have
adequate performance for all possible uses.
It's worth implementing some simple containers and algorithms
yourself, to understand the issues better, but doing so will not
help you better understand the STL.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34