3 ms·
Did you ever figure it out? This is the exact situation that I always liked to show my students, because it shows the power of abstractions, in this case the c
by coreyp_1 3y ago
Did you ever figure it out?
This is the exact situation that I always liked to show my students, because it shows the power of abstractions, in this case the c++ string object, and the danger of making assumptions about data. And then, finally, showing them how it is very much possible, and it was designed into the library in order to accommodate such use cases. Basically, I used it as a tool to help them better understand the data representation of strings, as well as for them to learn something deeper about the c++ standard library.