| 查看: 1440 | 回复: 8 | |||
swustxxl金虫 (正式写手)
|
[交流]
【求助】VC++数值算法集应用到MFC中报错,程序调试求助
|
|
这是数值算法集中的一个程序,需要将其应用到MFC应用程序中,原程序为WIN32控制台应用程序,运行一切正常,但转换成MFC对话框应用程序时报错,鄙人对VC编程不甚精通,特发帖求助,高手一看程序便知,谢谢 http://www.namipan.com/d/xxl11.r ... 6c70e03867c29471c00 |
» 猜你喜欢
回收溶剂求助
已经有7人回复
职称评审没过,求安慰
已经有40人回复
硝基苯如何除去
已经有3人回复
A期刊撤稿
已经有4人回复
垃圾破二本职称评审标准
已经有17人回复
投稿Elsevier的Neoplasia杂志,到最后选publishing options时页面空白,不能完成投稿
已经有22人回复
申请26博士
已经有5人回复
EST投稿状态问题
已经有7人回复
毕业后当辅导员了,天天各种学生超烦
已经有4人回复
求助文献
已经有3人回复

2楼2010-09-21 09:45:25
jason.masc
铜虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 63.6
- 帖子: 44
- 在线: 17.8小时
- 虫号: 1098825
- 注册: 2010-09-14
- 性别: GG
- 专业: 制冷及低温工程

3楼2010-09-21 16:15:01
swustxxl
金虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 1424.8
- 散金: 211
- 红花: 2
- 帖子: 398
- 在线: 126.8小时
- 虫号: 954876
- 注册: 2010-02-11
- 专业: 药物设计与药物信息
4楼2010-09-21 18:16:53
swustxxl
金虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 1424.8
- 散金: 211
- 红花: 2
- 帖子: 398
- 在线: 126.8小时
- 虫号: 954876
- 注册: 2010-02-11
- 专业: 药物设计与药物信息
5楼2010-09-21 18:17:55
jason.masc
铜虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 63.6
- 帖子: 44
- 在线: 17.8小时
- 虫号: 1098825
- 注册: 2010-09-14
- 性别: GG
- 专业: 制冷及低温工程

6楼2010-09-21 20:19:28
jason.masc
铜虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 63.6
- 帖子: 44
- 在线: 17.8小时
- 虫号: 1098825
- 注册: 2010-09-14
- 性别: GG
- 专业: 制冷及低温工程

7楼2010-09-21 20:30:19
swustxxl
金虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 1424.8
- 散金: 211
- 红花: 2
- 帖子: 398
- 在线: 126.8小时
- 虫号: 954876
- 注册: 2010-02-11
- 专业: 药物设计与药物信息
|
include目录下添加了相应文件,否则编译是通不过的;我的操作系统是XP2,用的是VC++6.0,我的程序需要面对的是一堆和我机子配置差不多的老机型和老操作系统以及比我自己好的新机型和新操作系统。所有的报错都是出现在之前没有任何改动的原程序文件中 --------------------Configuration: XXL11 - Win32 Debug-------------------- Compiling... XXL11Dlg.cpp c:\program files\microsoft visual studio\vc98\include\new(35) : error C2061: syntax error : identifier 'THIS_FILE' c:\program files\microsoft visual studio\vc98\include\new(35) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\include\new(35) : error C2809: 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\include\new(36) : error C2061: syntax error : identifier 'THIS_FILE' c:\program files\microsoft visual studio\vc98\include\new(37) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\include\new(37) : error C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,const struct std::nothrow_t & ' : overloaded function differs only by return type from 'void *(__cdecl *__cdecl operator new(void))(unsigned int)' c:\program files\microsoft visual studio\vc98\include\new(35) : see declaration of 'new' c:\program files\microsoft visual studio\vc98\include\new(41) : error C2061: syntax error : identifier 'THIS_FILE' c:\program files\microsoft visual studio\vc98\include\new(42) : error C2091: function returns function c:\program files\microsoft visual studio\vc98\include\new(42) : error C2556: 'void *(__cdecl *__cdecl operator new(void))(unsigned int,void *)' : overloaded function differs only by return type from 'void *(__cdecl *__cdecl operator new(void))(unsig ned int)' c:\program files\microsoft visual studio\vc98\include\new(35) : see declaration of 'new' c:\program files\microsoft visual studio\vc98\include\new(42) : error C2809: 'operator new' has no formal parameters c:\program files\microsoft visual studio\vc98\include\new(42) : error C2065: '_P' : undeclared identifier Error executing cl.exe. XXL11.exe - 11 error(s), 0 warning(s) |
8楼2010-09-22 11:42:04
jason.masc
铜虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 63.6
- 帖子: 44
- 在线: 17.8小时
- 虫号: 1098825
- 注册: 2010-09-14
- 性别: GG
- 专业: 制冷及低温工程

9楼2010-09-22 11:52:21













回复此楼
' : overloaded function differs only by return type from 'void *(__cdecl *__cdecl op