正在加载图片...
class CMoveTestView: public Cview 5.2 protected: /create from serialization only CMoveTestviewO DECLARE_ DYNC REATE(CMoveTestview) private CString flag: BOoL drawtrack struct pointstruct( CPoint point; struct pointstruct "next } struct pointstruct *pointlisthead, * pointlisttrail flag:判断选择的是“轨道”菜单项还是“车轮”菜单项按钮: drawtrack:当用户选择轨道菜单项时,判断是否画轨道; struct pointstruct:用来记录轨道中各个点的结构体 pointlisthead:用户所绘制轨道的点链表的头结点 pointlisttrail:用户所绘制轨道的点链表的尾结点class CMoveTestView : public CView { protected:// create from serialization only CMoveTestView(); DECLARE_DYNCREATE(CMoveTestView) private: CString flag; BOOL drawtrack; structpointstruct{ CPointpoint; structpointstruct*next; }; structpointstruct*pointlisthead,*pointlisttrail; …… } 5.2 flag:判断选择的是“轨道”菜单项还是“车轮”菜单项按钮; drawtrack:当用户选择轨道菜单项时,判断是否画轨道; struct pointstruct:用来记录轨道中各个点的结构体; pointlisthead:用户所绘制轨道的点链表的头结点; pointlisttrail:用户所绘制轨道的点链表的尾结点
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有