
14 Jan
2009
14 Jan
'09
1:04 p.m.
2009/1/14 Germán Diago
What's wrong with this code? When I push_back ptr to the vector, it pushes 0 instead of the value contained in ptr (which I checked and is non-zero).
Try this:
std::vector