Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy committed Oct 24, 2015
1 parent 8964a9c commit df70ffe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch11/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ std::multiset<Sales_data, compareType>::iterator c_it = bookstore.begin();
## [Exercise 11.20](ex11_20.cpp)
## Exercise 11.21:
>Assuming word_count is a map from string to size_t and word is a string, explain the following loop:
```cpp
while (cin >> word)
++word_count.insert({ word, 0 }).first->second;
Expand Down

0 comments on commit df70ffe

Please sign in to comment.