高分提的问题都没人答,又碰到低分的问题了void InitialDlg(Chetongset rm);
这个是自己在一个类里面定义的方法,调用一个我自己写的一个类的对象为参数
出错:e:\samples\ch04\contract1\calculator\xiugaidlg.h(46) : error C2061: syntax error : identifier 'Chetongset'是不是不能这样调用?
该如何做呢?
这个是自己在一个类里面定义的方法,调用一个我自己写的一个类的对象为参数
出错:e:\samples\ch04\contract1\calculator\xiugaidlg.h(46) : error C2061: syntax error : identifier 'Chetongset'是不是不能这样调用?
该如何做呢?
class Chetongset;
但是我把一个Chetongset rm的rm当作参数传进去就显示我类型无法转换了?
怎么回事啊
你试试看
No copy constructor available for class 'Chetongset'我就彻底糊涂了
不能传递类?