Selecting only the first few characters in a string C++

前端 未结 5 2003
遇见更好的自我
遇见更好的自我 2021-02-19 23:43

I want to select the first 8 characters of a string using C++. Right now I create a temporary string which is 8 characters long, and fill it with the first 8 characters of anot

5条回答
提交回复
热议问题