Mail Archives: djgpp/1997/11/02/07:48:52
Hello Luís,
Luís Coelho <DeepBlack AT geocities DOT com> schreef in artikel
<01bce4da$51c500c0$LocalHost AT host DOT ist DOT utl DOT pt>...
> Today I discovered that the standard vector<T>::resize(int) (or is it
> unsigned int?) is missing from djgpp's libraries? Has is been renamed or
is
> there another, simple way around? The porpuse of the whole thing is a
> Matrix<T> class which is based on a vector<vector<T>>
^^^^^^
Hmm, if you have this in your source code, the compiler probably thinks
you're doing an unsupported bitshift.<g> Place a space between the two.
This was stated in the 2nd edition, is that left out in the new one?
About the resize member function, a look in the vector.h file learns that
reserve(int) is the member to use I presume.
> Any help would be apreciated.
> Luís Coelho.
Hope this helped...
--
Greetings from sunny Amsterdam,
Jan Bijsterbosch
email: bijster AT worldonline DOT nl
http://www.worldonline.nl/~bijster
- Raw text -