S
Stephane Vollet
Hi,
Can someone explain this to me, please. Why is it m_values[] that takes
what's in v.m_values[] ?
I don't understand because it's Tvector& v in parameter...
Maybe it's too obvious to be explain...
Tvector(const Tvector& v)
{
m_values=new long [m_capacity];
for(int i=0;i<m_capacity;i++)
m_values=v.m_values;
}
thanks
Can someone explain this to me, please. Why is it m_values[] that takes
what's in v.m_values[] ?
I don't understand because it's Tvector& v in parameter...
Maybe it's too obvious to be explain...
Tvector(const Tvector& v)
{
m_values=new long [m_capacity];
for(int i=0;i<m_capacity;i++)
m_values=v.m_values;
}
thanks