Skip to content

wonderfry/kway_sortfile

Repository files navigation

cd to current dir;

compile:
	execute the following command in the linux console;
	g++ -o testsort TestMerge.cpp  kwaymergesort.cpp TempFile.cpp

test example:
	./testsort stringfile

	and the target file is sortstring file ,and if you want to print the file result,modify the variable outfile(ofstream) to cout in TestMerge.cpp

describe:
   you need to modify the  bufferSize according no your max memory limit size;
   
   more infomation can be see in my CSDN blog:http://www.cnblogs.com/wonderfry/p/4558668.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages