View Single Post
 
Andrew Koenig
Guest
Posts: n/a
 
      03-07-2005
"Kamil Burzynski" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

> 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.


 
Reply With Quote