CAD教程 行业资讯 3D模型下载 Pro/E教程 CAD书店 软件下载 联系我们
技术资料 CAD招聘 发布招聘 CAD问答 设计竞赛 CAD认证 北京CAD培训
视频教程 PS教程 CAD图纸 图书推荐 Solidworks教程 CAD培训 CAD软件商

 最新视频教程Pro/ENGINEER Wildfire2.0 工业设计实例视频教程 (全套免费在线学习)   AutoCAD视频教程每日更新
 
首页 > CAD在线问答 > 计算机图形学

帮忙!!急!!

2010-10-06 51自学网



//1view.h=======================================// 1View.h : interface of the CMy1View class///////////////////////////////////////////////////////////////////////////////#if !defined(AFX_1VIEW_H__906C299A_B069_4930_BB13_F6532075841F__INCLUDED_)#define AFX_1VIEW_H__906C299A_B069_4930_BB13_F6532075841F__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000class CMy1View : public CView{protected: // create from serialization only CMy1View(); DECLARE_DYNCREATE(CMy1View)// Attributespublic: CMy1Doc* GetDocument();// Operationspublic:// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMy1View) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); //}}AFX_VIRTUAL// Implementationpublic: virtual ~CMy1View();#ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected: //{{AFX_MSG(CMy1View) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP()private: void DrawScene() ; HGLRC m_hRC;};#ifndef _DEBUG // debug version in 1View.cppinline CMy1Doc* CMy1View::GetDocument() { return (CMy1Doc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_1VIEW_H__906C299A_B069_4930_BB13_F6532075841F__INCLUDED_)OPENGL做图入门,用mfc画茶壶的出错如下:--------------------Configuration: 1 - Win32 Debug--------------------Compiling...1View.cppC:/Users/flyran/完成作业/计算机图形学 一/shiyan/1/1View.cpp(126) : error C2509: 'OnCreate' : member function not declared in 'CMy1View' c:/users/flyran/完成作业/计算机图形学 一/shiyan/1/1view.h(13) : see declaration of 'CMy1View'C:/Users/flyran/完成作业/计算机图形学 一/shiyan/1/1View.cpp(164) : error C2509: 'OnDestroy' : member function not declared in 'CMy1View' c:/users/flyran/完成作业/计算机图形学 一/shiyan/1/1view.h(13) : see declaration of 'CMy1View'C:/Users/flyran/完成作业/计算机图形学 一/shiyan/1/1View.cpp(179) : error C2509: 'OnSize' : member function not declared in 'CMy1View' c:/users/flyran/完成作业/计算机图形学 一/shiyan/1/1view.h(13) : see declaration of 'CMy1View'执行 cl.exe 时出错.1View.obj - 1 error(s), 0 warning(s)怎么改正!不胜感激




 

 

软件工程大三应该选什么课程?
判断点在不规则图形内的算法。急!
我来回答 共有条 回答
用户名: 密码:
验证码: 匿名发表
| AutoCAD | Pro/E | UG | 3Dmax | catia | solidworks | maya | photoshop | 模具设计 | 有限元 | matlab | 计算机图形学 | 室内设计 |