如何从C++字符串中删除最后一个字符?
我尝试过st = substr(st.length()-1);,但它不起作用。
st = substr(st.length()-1);
https://stackoverflow.com/questions/2310939
相似问题