перегрузка оператора присваивания:
head,
*tail,
*pointer;
head = NULL;
while (source_ptr)
{
if (!head)
{
head = new node;
head->data = source_ptr->data;
head->next = NULL;
tail = head;
}
else
{
pointer = new node;
pointer->data = source_ptr->data;
tail->next = pointer;
pointer->next = NULL;
tail = pointer;
}
source_ptr = source_ptr->next;
}
}
Вопрос: Найти левый операнд, который задан неявно
void CSpisok::operator = (const CSpisok &source)
{
node *source_ptr = source.head,
*tail,
*pointer;
head = NULL;
while (source_ptr)
вот это не пропечаталось