c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : error C2143: syntax error : missing ';' before '*'
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : error C2501: 'Croot_growth3DGUIView::Croot_growth3DGUIDoc' : missing storage-class or type specifiers
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : error C2501: 'Croot_growth3DGUIView::GetDocument' : missing storage-class or type specifiers
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : warning C4183: 'GetDocument': missing return type; assumed to be a member function returning 'int'
c:\working\Huber\root_growth3DGUI3.0\MainFrm.cpp(108) : error C2440: 'initializing' : cannot convert from 'CView *' to 'Croot_growth3DGUIView *'
Cast from base to derived requires dynamic_cast or static_cast
Generating Code...Build log was saved at "file://c:\working\Huber\root_growth3DGUI3.0\Debug\BuildLog.htm"
root_growth3DGUI - 4 error(s), 3 warning(s)
---------------------- Done ---------------------- Rebuild All: 0 succeeded, 1 failed, 0 skipped
如何纠正。
3X
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : error C2501: 'Croot_growth3DGUIView::Croot_growth3DGUIDoc' : missing storage-class or type specifiers
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : error C2501: 'Croot_growth3DGUIView::GetDocument' : missing storage-class or type specifiers
c:\working\Huber\root_growth3DGUI3.0\root_growth3DGUIView.h(17) : warning C4183: 'GetDocument': missing return type; assumed to be a member function returning 'int'
c:\working\Huber\root_growth3DGUI3.0\MainFrm.cpp(108) : error C2440: 'initializing' : cannot convert from 'CView *' to 'Croot_growth3DGUIView *'
Cast from base to derived requires dynamic_cast or static_cast
Generating Code...Build log was saved at "file://c:\working\Huber\root_growth3DGUI3.0\Debug\BuildLog.htm"
root_growth3DGUI - 4 error(s), 3 warning(s)
---------------------- Done ---------------------- Rebuild All: 0 succeeded, 1 failed, 0 skipped
如何纠正。
3X
解决方案 »
- 图像赋值
- 问几个路由器的问题
- VC 程序输出WORD报告
- 我用的VS2005,用到了MFC的csocket.编译的程序在XP下没问题.到2000下出现"无法定位程序输入点getaddrinfo于动态链接库WS2_32.dll上"的错误
- 请问error LNK2001: unresolved external symbol _va_g729a_init_decoder@0这啥问题啊
- InvalidateRgn是直接更新窗口区域,能否先更新在内存DC中,再一下子全部更新至窗口DC
- 如何象CFileDialog选文件那样选目录?
- 怎样才能在DIALOG上“稳定”绘图?
- 怎样根据IP地址知道计算机名
- 为什么我的程序会出错error LNK2001: unresolved external symbol _main这样的错误?
- 请问怎样在DataGrid某个字段显示下拉菜单.
- 谁能帮我讲讲下面两个if语句的作用?
少个分号 看看类或结构体的定义地方也没写错 下面的错可能也是这个引起的
检查拼写