随笔分类 -  C++练习题

摘要:任务目标: 输入一行字符串 将它读取 返回最后一个单词的长度 我的解答: #include <iostream> #include <string> using namespace std; int main() { string str; getline(cin,str); int length 阅读全文
posted @ 2020-04-27 21:16 灰雾核心 阅读(145) 评论(0) 推荐(0)