Any ideas. is STL a good choice? where can I find it?
Dynamic Array class,
Members - Reputation: 122
Posted 11 September 1999 - 10:48 AM
The STL library should be included with your C++ package. It comes with g++ (including DJGPP) at least.
Try and search for the C++ Annotations document. This explains the STL classes in some detail. I can't remember where it can be found, but no doubt someone will know where to find it.
=> Arfa <=
Posted 17 September 1999 - 06:14 AM
std::swap( T& iter1, T& iter2 );
with iterator referencing the positions
(so you could use pointers in a vector
but better is using iterators at the positions)
Refer to your documentation or buy a good book on STL for better understanding of iterators