error C2664: “Student1::Student1(int,char [],int)”: 不能将参数 2 从“std::string”转换为“char []”
#include
#include
using namespace std;
class Student
{
public:
Student(int n,string nam)
{
num=n;
name=nam;
}
void display()
{
cout
关注
打赏