Five main steps are required to make a class serializable. They are listed below and explained in the following sections: Deriving your class from CObject (or from some class derived from CObject). Overriding the Serialize member function. Using the DECLARE_SERIAL macro in the class declaration. Defining a constructor that takes no arguments. Using the IMPLEMENT_SERIAL macro in the implementation file for your class. If you call Serialize directly rather than through the >> and << operators of CArchive, the last three steps are not required for serialization.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货