c++ 输入

#include <iostream>

using namespace std;

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

你的名字:lg
您是 :lg
posted @ 2022-08-19 22:54  luoganttcc  阅读(8)  评论(0)    收藏  举报