|
From: David M. <ci...@ya...> - 2003-04-07 18:49:52
|
This may sound really stupid but here goes. I have a vector of objects (STL vector, just an arbritary class). I have just pushed an object onto the end of this vector. I want the index (the number I put in [] to access the object) of the object I pushed onto the back. How would I do so? (vector.size()?, or .end()) ===== Signed David Mcken Life Sucks Live with it __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |