-
string 与 int
stoi( ) string->int
stoll( ) string->ll
to_string( ) int->string -
char 与 int
atoi() char*->int {char c[6]=“12345” atoi©} -
st.count()返回1,0
-
st.finde()返回st.end()
-
s.erase(下标,长度)
-
stoll(s) stoi(s) s不能是空字符
一些【我记不到的】知识点
最新推荐文章于 2025-06-26 17:56:26 发布
941

被折叠的 条评论
为什么被折叠?



