hi everyone,
i have a constructor like this,
CStack(int n)
{
bottom_ = new char[n];
top_ = bottom_;
size_ = n;
}
In my main class i call the constructor by creating a
CStack(5); // bottom_ = new char [5];
my question is can increment the size of the stack by using a copy constructor?