비주얼 스투디오 2012 사용.
Visual Studio 2012 Used.
First Check The Block Struct.
And U can fixed what u want Read block to binary file.
If Read block data will save account data. check it.
먼저 블록 Struct 를 확인합니다.
그리고 당신은 바이너리 파일에서 일긍ㄹ 블록의 크기를 수정할 수 있습니다.
만약 블록 데이터를 읽을때의 값이 account struct에 어떻게 들어가는지 확인 할 수 있습니다.
memory sorting use Heap Sorting and Save Split File.
Output Sorting use Merge(File) and Selection.
메모리상 Sroting은 Heap Sorting 을 하여 File을 나누어 저장합니다.
그리고 다시 모든 파일을 블록에 한 줄 씩 읽어 들여 Selection Sorting으로 정렬 하여 한 파일로 병합합니다.
I dont support File how to make binary files. its ur part. but, i give you sample dat file with my code.
어떻게 저장할 바이너리파일을만들 수 있는 기능은 지원하지 않습니다. 그건은 당신의 몫이며, 대신 이 코드의 샘플 파일을 드립니다.
File list:
External Sort 2PMM.cpp
input.dat