블로그 이미지
Starrysky1101

Tag

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
  • total
  • today
  • yesterday
2010. 11. 29. 09:46 Programming/C++
1. 출력을 하다보면 모양새 좋게.. 혹은 원하는 포맷으로 출력하고 싶을 때가 있다.

setiosflags

먼저 - http://www.cplusplus.com/reference/iostream/manipulators/setiosflags/
를 참고 하자.

위 링크에 아래쪽을 보면

See also


구문들이 있다.
이들도 보는 참고하는 것이 좋겠다.


cout.flags ( ios::left );



posted by Starrysky1101