Skip to content

Commit

Permalink
Merge pull request Mooophy#654 from Hierom/master
Browse files Browse the repository at this point in the history
Revise Ex. 3.26 for a better explanation
  • Loading branch information
pezy chen authored Apr 22, 2018
2 parents 2a50687 + 4b355a0 commit 55da3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch03/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ vector<string> v7{ 10, "hi" }; // size:10, value:"hi"
>In the binary search program on page 112,
why did we write `mid=beg+(end-beg)/2;` instead of `mid=(beg+end) /2;`?
`(beg + end)` is meaningless.
There's no operator `+` for adding two iterators.
## Exercise 3.27
>Assuming txt_size is a function that takes no arguments
Expand Down

0 comments on commit 55da3c7

Please sign in to comment.