您当前的位置: 首页 >  ar

error C2664: “Student1::Student1(int,char [],int)”: 不能将参数 2 从“std::string”转换为“char []”

txwtech 发布时间:2016-07-13 16:41:42 ,浏览量:5

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            
关注
打赏
1688896170
查看更多评论
0.0551s