about c++
this is a post about learning c++. but it is also suitable for learning kernel. in fact it is a general rule for serious studying on anything.http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=30745 我的经验就是
c赋予了你写垃圾的能力 ---〉 放心,没有人能用c写出大托垃圾
c++赋予了你写大块垃圾的能力 ---〉 类果然是好东西,可以成托成托地制造垃圾
java赋予了你写垃圾堆的能力---〉再也没有编译和运行不了的问题了,现在可以轻松高效率的堆垃圾了,哈哈哈...
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol: but u can not alway generate rubbish. u need to get sth useful. 为什么操作系统大多没有采用c++呢?呵呵。 我想是因为效率和二进制格式的问题吧。 i agree with 效率
but i do not know what u mean 二进制格式? 因为c++的标准比较宽松,所以各个编译器对c++的解释不太一样,。这种情况下往往语言本身就有很多令人困惑的问题... strange name in chinese anyway.
all the word i learned in china i know its chinese and english.
but many word i learn here is difficult to find chinese word. ????老大你在说什么 :shock: ,乱码?汉字最近升位了 :-D i mean i understand 二进制格式 as binary format, but u explanation is not the meaning i know. so i feel confused about inconsistency in computer terms. C plus plus has already finished standardization,I think it will be used more comprehensively! Some reason of "Operation System use C" is based on history habit, I think. NO
c plusplus确实标准化了,但它标准化不包括二进制格式。像c和c++混编时就要对纯c的东西进行extern "C"声明。
c的东西在各种编译器下生成的接口是一样,最典型的例子就是微软的COM的接口部分要用struct而不能用class c is a good language,
but c++ is also a very good language! gxl117, good summary from you
页:
[1]
2