字符串技巧


字符串转数字

cstdlib

atoi()

string

stoi()

字符串翻转

cstring

strrev()

algorithm

reverse()

string s2(s1.rbegin(),s1.rend());


Author: pkq
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source pkq !
  TOC