C ++还是C? [英] C++ or C?

查看:72
本文介绍了C ++还是C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人告诉我,c ++优于c,而其他人坚持认为c ++

只是一个垃圾。

我不知道该跟哪个。我想要确切地知道它们之间的区别

,以及它们各自的优势和劣势。

somebody told me that c++ is superior to c while others insist that c++
is just a junk.
I don''t know which to follow.I want to know exactly the difference
between them, and their respective advantage and disadvantage.

推荐答案

Magcialking写道:
Magcialking wrote:

有人告诉我c ++优于c,而其他人坚持认为

c ++只是一个垃圾。

我不知道应该遵循哪些。我想确切地知道它们之间的差异

,以及它们各自的优势和劣势。
somebody told me that c++ is superior to c while others insist that
c++ is just a junk.
I don''t know which to follow.I want to know exactly the difference
between them, and their respective advantage and disadvantage.

www.google.com 并阅读有关差异的信息。 脸红了。

脸部。


哦,当你在它的时候,抬头看拖钓,尽量不做它。


V

-

请在通过电子邮件回复时删除资金''A' />
我没有回复最热门的回复,请不要问

www.google.com and read about the differences until you''re blue in
the face.

Oh, while you''re at it, look up "trolling", and try not to do it.

V
--
Please remove capital ''A''s when replying by e-mail
I do not respond to top-posted replies, please don''t ask


Magcialking写道:
Magcialking wrote:

有人告诉我c ++优于c,而其他人坚持认为c ++

只是一个垃圾。
somebody told me that c++ is superior to c while others insist that c++
is just a junk.



C ++是后来发明的,它更容易编程。这意味着使用它的许多新的

库通常都很胖和臃肿。


但是,C ++允许与C一样多的效率。你应该编写干净的C ++

样式代码,并保持它不丑陋和臃肿。然后,如果它很慢,你可以使用

C风格的代码,效率更高。理想情况下,你可以充分利用这两个世界。


现在尝试将C语言与任何其他语言进行比较。提示:不要直接向Java支付
。获得像Ruby或Smalltalk这样的高级语言,并学习

将它与C ++进行比较。


-

Phlip
http://c2.com/cgi/wiki?ZeekLand< - 不是博客!!!

C++ was invented later, and it''s easier to program. That means many new
libraries, using it, are often fat and bloated.

However, C++ permits as many efficiencies as C. You should write clean C++
style code, and keep it not ugly and bloated. Then if it''s slow, you can use
C-style code that''s more efficient. So ideally you can get the best of both
worlds.

Now try comparing a C language to any other language. Tip: Don''t go straight
to Java. Get a high-level language like Ruby or Smalltalk, and learn to
compare it to C++.

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!




Magcialking写道:

Magcialking wrote:

有人告诉我c ++优于c,而其他人坚持认为c ++

只是一个垃圾。

我不知道该跟哪个。我想要确切地知道他们之间的差异,以及他们各自的优势和劣势。
somebody told me that c++ is superior to c while others insist that c++
is just a junk.
I don''t know which to follow.I want to know exactly the difference
between them, and their respective advantage and disadvantage.



尝试比较一个苹果和一个梨。


C ++的发明者Bjarne Stroustrup有几点要说

主题: http:// www.research.att.com/~bs/bs_faq.html

Try to compare an apple and a pear.

The inventor of C++ Bjarne Stroustrup has a few things to say on the
subject: http://www.research.att.com/~bs/bs_faq.html


这篇关于C ++还是C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆