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.0508 sec