Hi,
I found this as a sample Function from an exercise.
And I was wondering, is there any difference if the function was declared asCode:int search(const tvector<Student>& list, const string& idnum);
What does the ampersand ( & ) means in the 1st code?Code:int search(const tvector<Student> &list, const string &idnum);
Thanks.
Harddisk




Reply With Quote