1.error C2659: '=' : overloaded function as left operand
2.error C2509: 'Serialize' : member function not declared in 'CChap6_1Doc'
3.error C2039: 'MoveTO' : is not a member of 'CDC'
4.error C2450: switch expression of type '' is illegal

解决方案 »

  1.   

    2.error C2509: 'Serialize' : member function not declared in 'CChap6_1Doc'不能直接对这个对象使用cout<<或cin>>
    3.error C2039: 'MoveTO' : is not a member of 'CDC'拼写错误MoveTo
    1.error C2659: '=' : overloaded function as left operand左操作数的问题,不支持赋值操作,你需要重载运算符=;
    switch expression of type '' is illegal表达式错误,自己找下··
      

  2.   

    1.对象不能被赋值
    2.'Serialize' 函数没有声明
    3.'MoveTO' 不是类CDC的函数,应该是MoveTo吧,大小写写错了
    4.switch(XX)中的XX类型不对,不符合语法,查查switch的C语言语法