Exercises
1. | What would happen if we compiled the program in Figure 7.19? Why?
Figure 7.19. Exercise 1 (code\strex1.cpp)
| |
2. | What would happen if we compiled the program in Figure 7.20? Why?
Figure 7.20. Exercise 2 (code\strex2.cpp)
|
Get C++: A Dialog Programming with the C++ Standard Library now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.