c++ 输入

#include <iostream>

using namespace std;

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

猜你喜欢

转载自www.cnblogs.com/luoganttcc/p/10525160.html