for循环
auto 自动识别类型
例如:
char charr[10]={"goodluck" };
for(auto&ch:charr)
cout<<ch;
return 0;
for循环
auto 自动识别类型
例如:
char charr[10]={"goodluck" };
for(auto&ch:charr)
cout<<ch;
return 0;
2922
3206
1288

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