且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

"错误 C2248: 'CObject::CObject' : 无法访问在类 'CObject' 中声明的私有成员

更新时间:2023-02-14 23:15:38

为你的类 (CPerson) 编写一个构造函数并将其公开.它应该可以解决问题.

Write a constructor for your class (CPerson) and make it public. it should solve the problem.