小编Joh*_*nie的帖子

如何将文本输入到字符串数组中?

串水果[200];

如何将字符串输入数组?

Example:
My mom has apples;
So , fruits array will contain:
fruits[0] = "My";
fruits[1] = "mom";
..........etc.
Run Code Online (Sandbox Code Playgroud)

我怎样才能做到这一点?

c++ string input

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

c++ ×1

input ×1

string ×1