본문 바로가기

컴퓨터 과학 & 영상처리 관련/C / C++

stringstream 으로 atoi?

string myStr("12");

int myInt;

stringstream(myStr) >> myInt;

 

결과

컴파일 안됨