CJob(int Xnumber = 0, CMyTime& XreachTime, int XrunTime = 0);
提示错误:error C2548: 'CJob::CJob' : missing default parameter for parameter 2
老师说x(type x, type y, type z)只能从右边开始给参数赋值,如可以
x(type x, type y, type z = 0)
x(type x, type y = 0, type z = 0)
却不可以
x(type x = 0, type y, type z = 0)
原来如此啊,呵呵
提示错误:error C2548: 'CJob::CJob' : missing default parameter for parameter 2
老师说x(type x, type y, type z)只能从右边开始给参数赋值,如可以
x(type x, type y, type z = 0)
x(type x, type y = 0, type z = 0)
却不可以
x(type x = 0, type y, type z = 0)
原来如此啊,呵呵