void BitMapSortDemo() { //為了簡(jiǎn)單起見(jiàn),我們不考慮負(fù)數(shù) int num[] = {3,5,2,10,6,12,8,14,9}; //BufferLen這個(gè)值是根據(jù)待排序的數(shù)據(jù)中最大值確定的 //待排序中的最大值是14,因此只需要2個(gè)Bytes(16個(gè)Bit) //就可以了。 const int BufferLen = 2; ...
www.dbjr.com.cn/article/375...htm 2025-5-31