
3번 과제 (이삭 튜터님, 제출용)더보기//3번 과제 (이삭 튜터님)#include #include using namespace std; template class SimpleVector { private: T* data; int currentSize; int currentCapacity; void release() { delete[] data; data = nullptr; } public: SimpleVector() { data = new T[10]; currentSize = 0; currentCapacity = 10; } SimpleVector(int capacity) { data = new T[capacity]; currentSize = 0; currentCapacity = capacity; ..