#ifndef MyVector_H#define MyVector_Htemplate<typename Object>class MyVector{private: int theSize; int theCapacity; Object *objects;public: typedef Object *iterator; typedef const Object *const_iterator; enum {SPARE_CAPACITY = 16}; explicit MyVector( int init = 0 ): theSize(init),theCapacity(in Read More
posted @ 2012-06-22 23:37
桥边红药
Views(260)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号