#include "stdafx.h"
#include "windows.h"
#include "iostream"
#include "stdlib.h"
#include "climits"
#include "string"
using namespace std;
int main(int argc, char* argv[])
{
char name[101];
string ch;
cout<<"Please input\n";
cin>>ch;
cout<<"Please input\n";
cin>>name;
cout<<ch<<endl<<name<<endl;
system("pause");
return 0;
}
String 类型与 char 类型比较
最新推荐文章于 2023-09-17 21:36:49 发布