U E D R , A S I H C RSS

Yggdrasil/가속된씨플플/4장

4

  • . () (구) .

  • ( ) / . , .
  • . 간, .
  • (?) . . , . 그 const . .
    • 1 1 , , . .

  • 고, sort() , . 그 3 . ,

~cpp 
sort(students.begin(), students.end(), compare);
  • 고, compare ,

~cpp 
bool compare(const Student_info& x, const Student_info& y)
{
	return x.name<y.name;
}
, compare . , sort . .
compare students vector( list). Student_info compare . --
  • 4.3 .

  • try{}catch(a){}: try{} catch{} .
  • throw . , 고, , what() .

String

  • : < > ! 거구...
  • width(n) : , n . n 0 .

  • max() . msdn algorithm . ?

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:29
Processing time 0.0139 sec