Quote:
Since C-style strings, and functions like strcpy and strcat are part of C++, I don't think it is something to completely sweep under the rug. And learning some of the pitfalls can be helpful. Sure, you can use a std::string quite a bit of the time, but there are still things like sprintf or strftime that can be useful.
Well, those might fall under the category of a choice not being available (or having been ruled out for specific reasons). Consider that opening a file with fstream requires a C-style string.