while(cin>>a) 이러면 stdin이라는 가정하에 EOF만나면
cin이 NULL을 반환함?
cin.eof(), cin.good(), if(cin)...
https://stackoverflow.com/questions/38978266/how-can-stdcin-return-a-bool-and-itself-at-the-same-time검색을생활화 - return 0;
cin.eof(), cin.good(), if(cin)...
https://stackoverflow.com/questions/38978266/how-can-stdcin-return-a-bool-and-itself-at-the-same-time
검색을
생활화 - return 0;