H
hello
I am working on a programming project for my c++ class and I get this
weird error that I can get rid of. The method is a private method
that is supposed to copy a linked list to a new linked list and I get
this error: SortedList.cpp:190: error: expected constructor,
destructor, or type conversion before '*' token. The heading of the
function is this and ir errors on the same line:
ListNode *copyList (ListNode *L){}
weird error that I can get rid of. The method is a private method
that is supposed to copy a linked list to a new linked list and I get
this error: SortedList.cpp:190: error: expected constructor,
destructor, or type conversion before '*' token. The heading of the
function is this and ir errors on the same line:
ListNode *copyList (ListNode *L){}