1 c++
如果我有一个我知道的长度恒定的字符串,我应该使用什么?
char test[100] std::array<char, 100> test std::string test
谢谢!
eer*_*ika 8
答案在于问题:
如果我有一个字符串 ......
如果你有一个字符串,请使用std::string.除非你有非常具体的要求,否则你没有提到.
std::string
归档时间:
10 年 前
查看次数:
721 次
最近记录: