Using struct and linear search to displa - C++ Forum - C++ Users Take a look at this minor adaptation It uses a functor and std::find_if to create a process for finding students by their record The program will probably evolve into using dynamic arrays so eventually you'd need to change the call to std::find_if accordingly The (student + 2) represents a pointer to one past the end of the array used by std::find_if to stop looking and will return a value