3 ms·
So c-style arrays and strings (and the C string functions) are discussed in chapter 4, exceptions and templates are chapter 12 "advanced topics", and in the dis
by tbrownaw 16y ago
So c-style arrays and strings (and the C string functions) are discussed in chapter 4, exceptions and templates are chapter 12 "advanced topics", and in the discussion of arrays you're encouraged to write your own array class if you need bounds checking.
I don't see mention of std::vector (which has .at() for bounds-checked access) or std::string , maybe I just missed it not reading very thoroughly.
I don't think I like this book, it seems to encourage some rather bad practices...