c++ 输入

#include <iostream>

using namespace std;

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

你的名字:lg
您是 :lg

posted @ 2019-03-13 18:56  luoganttcc  阅读(105)  评论(0编辑  收藏  举报