上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 一道C语言的题目,关于指针和int类型。 阅读全文
posted @ 2010-10-16 23:30 嗷嗷 阅读(2514) 评论(8) 推荐(2) 编辑
摘要: 总结一下自己关于带新人,作新人的思考. 阅读全文
posted @ 2010-09-13 21:00 嗷嗷 阅读(680) 评论(3) 推荐(5) 编辑
摘要: 周五在张江附近约了两家公司面试,于是顺道去造访了一下博客园,成功约出楠姐吃饭,还让dudu付了钱,真是赚大了。 阅读全文
posted @ 2010-09-11 12:24 嗷嗷 阅读(656) 评论(15) 推荐(1) 编辑
摘要: 嗷嗷按,今天被问到在constructor/destructor中调用virtual member function的问题。答错了,很羞耻 阅读全文
posted @ 2010-09-07 21:31 嗷嗷 阅读(1466) 评论(0) 推荐(0) 编辑
摘要: 嗷嗷按,用C++这么多年,还真的第一次注意到有这个东西,具体所有细节还没整理出来。先用个例子说明一下大概[代码]};class BB:private AA{public: using AA::i;};int main(){ BB b; b.i = 1; //OK, no problem //b.j = 1;// inaccessible to b.j} 阅读全文
posted @ 2010-09-05 23:30 嗷嗷 阅读(391) 评论(2) 推荐(0) 编辑
摘要: int func(int aa[4]) { return sizeof(aa);}返回值为几何?? 阅读全文
posted @ 2010-09-01 19:01 嗷嗷 阅读(651) 评论(0) 推荐(0) 编辑
摘要: — Conversion to orfrom an integer type produces a value outside the range that can be represented(6.3.1.4).— Demotion of onereal floating type to another produces a value outside the range... 阅读全文
posted @ 2010-08-31 19:33 嗷嗷 阅读(633) 评论(0) 推荐(0) 编辑
摘要: — Two declarationsof the same object or function specify types that are not compatible(6.2.7).[代码] 阅读全文
posted @ 2010-08-31 19:30 嗷嗷 阅读(490) 评论(0) 推荐(0) 编辑
摘要: — The arguments tocertain operators are such that could produce a negative zero result, but theimplementation does not support negative zeros (6.2.6.2).如果最高位为符号位,0x00000000是正零,0x80000000是负零。 阅读全文
posted @ 2010-08-31 19:27 嗷嗷 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 我叫嗷嗷,我喜欢乱叫,我是C/C++语言的偏执狂,嗷嗷~~~~ 这里是我对于C语言中的那些undefined behavior的理解 阅读全文
posted @ 2010-08-31 19:23 嗷嗷 阅读(1338) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页