Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mlieou committed Jul 25, 2016
1 parent 3ed83b7 commit 7eb5076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch06/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ casue `c` maybe a temp varable. such as `find_char(s, 'a', occurs)`

>What would happen if we made `s` a plain reference? What if we made `occurs` a reference to const?
`s` could be changed in the function, and `occurs` whould not be changed. so `occurs = 0;` is an error.
`s` could be changed in the function, and `occurs` would not be changed. so `occurs = 0;` is an error.

## Exercise 6.16
```cpp
Expand Down Expand Up @@ -272,7 +272,7 @@ decltype(arrStr)& arrPtr(int i)
(b) legal, and match.
(c) legal, but not match. `wd` whould be setting to '*'.
(c) legal, but not match. `wd` would be setting to '*'.
## [Exercise 6.42](ex6_42.cpp)
## Exercise 6.43
Expand Down

0 comments on commit 7eb5076

Please sign in to comment.