Programming Language/c++언어

객체 cin과 getline 차이점

푸른너구리 2010. 1. 17. 20:47

cin() : 문자와 문자열 모두 가능
get() : 문자만 가능
getline() : 문자열만 가능