ofstream(\"file.bin\",ios::out|ios::binary);
ifstream(\"file.bin\",ios::in|ios::binary);

이렇게 열면 이 파일은 읽기로 열리는겨 아님 쓰기로열리는겨