摘要: /*位运算,存储*/ int tl_bintree(int t){ int x = 0,a=t; while(a!=1){ a=a/2; x++; } return x; } int ex_getState( struct EX* e,int t){ return (e->_st & t)>>tl_bintree(t); } voi... 阅读全文
posted @ 2017-08-25 10:13 泥潭里的金鱼 阅读(257) 评论(0) 推荐(0) 编辑