构造函数定义时多了一个参数;worker(string="",string="", string="", char='f', double=0);改成==》worker(string="",string="",char='f', double=0);