Boost.Lexical_cast
프로그래밍 언어/boost 2014. 4. 2. 16:32
boost::lexical_cast숫자를 문자열로 또는 그 반대로 변환시 사용 boost::bad_lexical_cast형변환 타입 에러시 예외 처리 사용 예제 Colored By Color Scripter™12345678910111213141516171819202122232425262728#include "stdafx.h"#include int _tmain(int argc, _TCHAR* argv[]){ try { // number -> string cout