Printable View
Quote: Originally Posted by XNOViiCE That was what I was missing Code: void randomMethod() { solution->Passenger p list.AddToList(p.methodname,3); } That's not valid code. A fully-qualified type name cannot contain the -> operator. Perhaps you mean to have :: instead. You're also missing the semi-colon.
void randomMethod() { solution->Passenger p list.AddToList(p.methodname,3); }