First page Back Continue Last page Graphics

COMPARE

  • bool compare (const Student_info& x,
  • const Student_info& y)
  • {
  • return x.name < y.name;
  • }
  • // uses the string comparison on the name fields of the two structures.