- 博客(4)
- 收藏
- 关注
原创 myEclipse debug android 'hello world'
<br />1.debug 我的 hello world时,发现看到播放器的debug message<br />
2010-12-25 18:33:00 2173
原创 异或的用法
http://blog.codingnow.com/2008/06/variable_length_array.htmlstructvector {int*data;int size;};voidvector_expand(struct vector *v,int s){int new_size=v->size + s;if((new_size ^ v->size)> v->size){ v->data=(int*)realloc(v->data,sizeof(int)*new_size *2)
2010-12-11 11:39:00 2038
原创 bitset是好东西
<br />#include <bitset><br /> <br />std::bitset<sizeof(int)*8> qq(2010);<br />cout<<qq<<endl; //二进制<br /> <br />string ss = "101";<br />std::bitset<sizeof(int)*8> mm(ss); <br />cout<<mm.to_ulong()<<endl; //手输入二进制
2010-12-11 11:18:00 2138
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人