c++ 输入

c++ 输入

#include <iostream>

using namespace std;

int main()
{
   char name[50];
   cout<< "你的名字:";
   cin >> name;
   cout <<"您是 :"<<name<<endl;
}
你的名字:lg
您是 :lg

posted on 2019-03-13 18:56 luoganttcc 阅读(...) 评论(...) 编辑 收藏

posted @ 2022-08-19 22:54  luoganttcc  阅读(9)  评论(0)    收藏  举报