yes i did but when i implemented the code and change it some what to match my program i keep getting this error : left operand must be l-value

code for which error was given for:
current->getnextEmployeeInfo()=next->getnextEmployeeInfo ();

thanks u for helping