- Modern C++:Efficient and Scalable Application Development
- Richard Grimes Marius Bancila
- 61字
- 2021-06-10 18:27:57
Using arrays of characters
Strings will be covered in more detail in Chapter 6, Using Strings, but it is worth pointing out here that C strings are arrays of characters and are accessed through pointer variables. This means that if you want to manipulate strings, you must manipulate the memory that the pointer points to, and not manipulate the pointer itself.