C/C++ 获取字符串、字符数组长度

一般常用的方法:

字符数组:strlen()

string对象:length()

 

获取C/C++字符串、字符数组长度:

https://blog.csdn.net/m0_37592397/article/details/79701992

 

C++获取字符串长度的几个函数(亟待完善):

https://www.cnblogs.com/GoldCrop/p/10832314.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章