2008年2月29日

计算位数的3种方法

摘要: 方法1: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->int count_bits(unsigned int data) { int cnt=0; while(data!=0) { data=data&(data-1... 阅读全文

posted @ 2008-02-29 12:34 woodfish 阅读(852) 评论(1) 推荐(0) 编辑

导航