QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: Dragonfly

about c++

[复制链接]
发表于 2003-7-28 20:34:11 | 显示全部楼层
[quote:30bf32f3a3="Dragonfly"]i agree with 效率
but i do not know what u mean 二进制格式?[/quote]
我想应该是效率是的问题,c语言太快了,
回复

使用道具 举报

 楼主| 发表于 2003-7-30 22:36:54 | 显示全部楼层
we lose some other posts here.
回复

使用道具 举报

发表于 2003-8-23 06:18:28 | 显示全部楼层
Please read the works,"Inside the c++ object model", the writer answers almost of the questions above in it.

for instance,extern "C", he gave us a clear answer about it.
回复

使用道具 举报

发表于 2003-9-18 14:49:18 | 显示全部楼层
C is very very mature technology. The C++ is just a extension of c. For example, class is just from the idea of struct. But as some one says before, C++ generate a great deal of rubbish, C generate little rubbish. And object code generated by C is more fast than C++, the space requirement is smaller. The advantage of C++ is easy to organize source code and memory violation. The common problem faced with them is efficient and effective management of memory and CPU cycle. Although memory is large enough and CPU is fast enough.
回复

使用道具 举报

 楼主| 发表于 2003-9-18 22:01:05 | 显示全部楼层
The C++ is just a extension of c. , no no no
回复

使用道具 举报

发表于 2003-10-10 13:58:46 | 显示全部楼层
基实Linux的kernel中采用了很多面向对象的思想,不过用C来实现
Windows的HAL用汇编与C,其它层则多数用C++
回复

使用道具 举报

发表于 2003-10-10 15:14:50 | 显示全部楼层
各有各的优点,各有各的缺点,就看在特定的情况下人们需要什么了。
回复

使用道具 举报

发表于 2003-10-15 16:05:01 | 显示全部楼层
很有启发
回复

使用道具 举报

发表于 2003-10-20 15:10:28 | 显示全部楼层
COM uses "struct" simply because c has no keyword "class", its cpp declaration is of course a class. cpp is born to be ready for COM.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 06:20 , Processed in 0.048158 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表