08 2010 档案
摘要:— 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...
阅读全文
摘要:— Two declarationsof the same object or function specify types that are not compatible(6.2.7).[代码]
阅读全文
摘要:— 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是负零。
阅读全文
摘要:我叫嗷嗷,我喜欢乱叫,我是C/C++语言的偏执狂,嗷嗷~~~~ 这里是我对于C语言中的那些undefined behavior的理解
阅读全文
摘要:我叫嗷嗷,我喜欢乱叫,我是C/C++语言的偏执狂,嗷嗷~~~~
这里是我对于C语言中的那些undefined behavior的理解。
本系列其他
阅读全文
摘要:我叫嗷嗷,我喜欢乱叫,我是C/C++语言的偏执狂,嗷嗷~~~~ 这里是我对于C语言中的那些undefined behavior的理解
阅读全文
摘要:这都是一些细枝末节的东西,我想不做编译器的话,大部分都很难碰到。研究学习这些只是出于对C语言一种偏执狂。
写出来是为了找到和我一样的偏执狂。
阅读全文
摘要:C++ is a horrible language.
阅读全文
摘要:本文的经验特指学习C++的语言特性,不涉及面向对象思想的学习。
本文属于发骚文,并不是给新人的学习指导。过来人如果看完有共鸣,请赞美我一下;如果你有其他感触,请分享;如果你有不同意见,请闭嘴。
阅读全文