C ++优于C的优势 - 请求信息 [英] Advantages of C++ over C - request for information
问题描述
您好。
我必须创建关于C ++优势的简短(1小时)演示文稿,而不是
C.是否有任何好文章/文本等。关于这样的话题?
就个人而言,我自己非常精通C ++(例如我已经阅读并且
了解了许多来自H. Sutter的书籍,A。Alexandrescu等),所以我不会在制作该演示文稿之前需要了解C ++。我能够自己写这样的演示文稿,但当然 - 如果有人写了类似的文字,我想用它。
>
提前感谢任何想法,评论和文章指示。
-
来自
$ b $的致敬b Kamil Burzynski
Kamil Burzynski写道:我必须创建关于C ++优势的简短(1小时)演示文稿
C.有没有好的文章/文本等。关于这样的话题?
你试过网吗? www.google.com 是一个很好的起点。
[ ...]
" Kamil Burzynski" < k ********* @ usunto.adbglobal.com>。在消息中写道
news:20 ********************* @ kburzynski1.adb.pl ...
我必须创建关于C ++优势的简短(1小时)演示文稿。是否有任何好的文章/文本等。关于这样的话题?
看一下''Ruminations on C ++'的第1章。
此外,这里这是一个例子:
map< string,int>单词;
字符串单词;
while(cin>> word)
++单词[word];
此代码片段计算每个不同单词出现在
标准输入流中的次数。您可以尝试在C中重写它,看看它需要多少代码。
2005年3月7日星期一15:39:27 GMT
" Andrew Koenig" < ar*@acm.org>写道:
" Kamil Burzynski" < k ********* @ usunto.adbglobal.com>。在消息中写道
新闻:20 ********************* @ kburzynski1.adb.pl ...
拿一个看看''Ruminations on C ++'的第1章。
此外,这里有一个例子:
map< string,int>单词;
字符串;
while(cin>>单词)
++单词[单词];
此代码片段计算如何很多时候,每个不同的单词出现在
标准输入流中。您可以尝试在C中重写它,看看它需要多少代码。
非常感谢 - 很好的例子!顺便说一句:类型特征的任何类似例子,
一些高级模板<> (即不仅仅是容器的东西)片段?
-
来自
Kamil Burzynski的好问候
Hello.
I have to create short (1 hour) presentation about C++ advantages over
C. Are there any good articles/texts/etc. about such topic?
Personally, I''m quite proficient at C++ myself (e.g. I''ve read and
understood many books from H. Sutter, A. Alexandrescu etc.), so I do not
need to learn about C++ before making that presentation. I am able to
write such presentation myself, but of course - if somebody else written
similar text, I would like to use it.
Thanks in advance for any ideas, comments and pointers to articles.
--
Best regards from
Kamil Burzynski
Kamil Burzynski wrote:I have to create short (1 hour) presentation about C++ advantages over
C. Are there any good articles/texts/etc. about such topic?
Have you tried the Web? www.google.com is a good starting point.
[...]
"Kamil Burzynski" <K.*********@usunto.adbglobal.com> wrote in message
news:20*********************@kburzynski1.adb.pl...
I have to create short (1 hour) presentation about C++ advantages over
C. Are there any good articles/texts/etc. about such topic?
Take a look at chapter 1 of ''Ruminations on C++."
Also, here''s an example:
map<string, int> words;
string word;
while (cin >> word)
++words[word];
This code fragment counts how many times each distinct word appears in the
standard input stream. You might try rewriting it in C and see how much
more code it takes.
On Mon, 07 Mar 2005 15:39:27 GMT
"Andrew Koenig" <ar*@acm.org> wrote:
"Kamil Burzynski" <K.*********@usunto.adbglobal.com> wrote in message
news:20*********************@kburzynski1.adb.pl...
Take a look at chapter 1 of ''Ruminations on C++."
Also, here''s an example:
map<string, int> words;
string word;
while (cin >> word)
++words[word];
This code fragment counts how many times each distinct word appears in the
standard input stream. You might try rewriting it in C and see how much
more code it takes.
Thanks a lot - great example! By the way: any similar example for type traits,
some advanced template<> (i.e. something more than containers) snippets?
--
Best regards from
Kamil Burzynski
这篇关于C ++优于C的优势 - 请求信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!