Dragonfly 发表于 2003-7-7 12:59:37

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

kakuyou 发表于 2003-7-7 20:59:33

我的经验就是
c赋予了你写垃圾的能力       ---〉 放心,没有人能用c写出大托垃圾
c++赋予了你写大块垃圾的能力 ---〉 类果然是好东西,可以成托成托地制造垃圾
java赋予了你写垃圾堆的能力---〉再也没有编译和运行不了的问题了,现在可以轻松高效率的堆垃圾了,哈哈哈...

:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:

Dragonfly 发表于 2003-7-7 22:23:18

but u can not alway generate rubbish. u need to get sth useful.

xdwjack 发表于 2003-7-8 11:55:57

为什么操作系统大多没有采用c++呢?呵呵。

kakuyou 发表于 2003-7-8 13:28:49

我想是因为效率和二进制格式的问题吧。

Dragonfly 发表于 2003-7-8 21:27:23

i agree with 效率
but i do not know what u mean 二进制格式?

kakuyou 发表于 2003-7-8 22:16:40

因为c++的标准比较宽松,所以各个编译器对c++的解释不太一样,。这种情况下往往语言本身就有很多令人困惑的问题...

Dragonfly 发表于 2003-7-8 23:12:26

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.

kakuyou 发表于 2003-7-8 23:27:19

????老大你在说什么 :shock: ,乱码?汉字最近升位了 :-D

Dragonfly 发表于 2003-7-9 01:34:51

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.

mereUnix 发表于 2003-7-9 15:17:11

C plus plus has already finished standardization,I think it will be used more comprehensively!

atfa 发表于 2003-7-11 00:22:27

Some reason of "Operation System use C" is based on history habit, I think.

kakuyou 发表于 2003-7-11 13:54:43

NO

c plusplus确实标准化了,但它标准化不包括二进制格式。像c和c++混编时就要对纯c的东西进行extern "C"声明。

c的东西在各种编译器下生成的接口是一样,最典型的例子就是微软的COM的接口部分要用struct而不能用class

hibernate 发表于 2003-7-12 23:49:49

c is a good language,
but c++ is also a very good language!

Dragonfly 发表于 2003-7-14 22:53:07

gxl117, good summary from you
页: [1] 2
查看完整版本: about c++