k-means文本聚类算法
k-means聚类算法
Signed-off-by: wycg1984 <sheliang84@gmail.com>
modify kmeans a bug
modify kmeans function bug and so on
Merge branch 'master' of https://github.com/wycg1984/algorithms into wycg1984-master

Conflicts:
	Makefile
Merge branch 'wycg1984-master'
Update README.md
add kmp algorithms
Update README.md
fix a leak in kmp
update Makefile
Update README.md
Update README.md
Merge pull request #4 from xiongxoy/master

Fix spell error in README.md
Adding cmake file. Fixes for msvc support. Currently 36 out of 43 demos can build with msvc.
Missing files in last commit.
Update generic.h

It's not making any sense to use typeof(i) to define length, since 'i' is obviously a 'int'. And it's probably not a good idea to put the choose pivot function in a separate file, this will force user to call srand() unnaturally.
Merge pull request #5 from blackball/master

remove typeof from choose_pivot(...)
thx...
Merge pull request #6 from Samana/master

Adding cmake file. Adding msvc support. Currently 36 out of 43 projects can build with visual studio 2012.