Hello again, this time the professor asked us to do a bubblesort and sort it by the last name of the employees. I'm a beginner c++ coder so bear with me please (truthfully I'm only suppose to learn the flowchart and pseudo code in this class). So far this is what I have. I am able to implement the bubble sort function correctly but I don't know how to call the name data so that it will sort from the last name of the employees. What am I missing to make this function sort the last names?
so if I figure I add to the code maybe it'll work but I got me a "expected primary-expression before "theEmployees" " and a "expected primary-expression before "int" " for line 40. What expression am I missing for line 40?