约 5 分钟
string 用来装一整串文字,用双引号。string s = "hello"; 造一个文字盒子,cout<<s; 显示 hello。它能装一个词或一句话。
string
string s = "hello";
cout<<s;
造一个 string 盒子 word,装入 cat,写出这行。
word
cat
登录 后可看答案