Hi,
I'm still working on my Book Class using vector.
due to a strange behavior of vector function : push_back(), i decided to
do a simple test.
the result is absolutely the same...it's to say :
I wrote this :
//-------------
vector<int> Pokus;
Pokus.push_back(10);
Pokus.push_back(20);
when i control in my Local window the values, i have :
Pokus
_MyFirst 10
_MyLast *? a random value but not 20
_Myend *? the same random value than _MyLast
so i was thinking that push_back function reallocate memory in case of
need...but it seems to not work.
Does anyone already had this behavior or just me ?
thx,
Maileen