| 查看: 1472 | 回复: 8 | |||
swustxxl金虫 (正式写手)
|
[交流]
【求助】VC++数值算法集应用到MFC中报错,程序调试求助
|
|
这是数值算法集中的一个程序,需要将其应用到MFC应用程序中,原程序为WIN32控制台应用程序,运行一切正常,但转换成MFC对话框应用程序时报错,鄙人对VC编程不甚精通,特发帖求助,高手一看程序便知,谢谢 http://www.namipan.com/d/xxl11.r ... 6c70e03867c29471c00 |
» 猜你喜欢
假如你的研究生提出不合理要求
已经有12人回复
实验室接单子
已经有7人回复
全日制(定向)博士
已经有5人回复
萌生出自己或许不适合搞科研的想法,现在跑or等等看?
已经有4人回复
Materials Today Chemistry审稿周期
已经有4人回复
参与限项
已经有3人回复
对氯苯硼酸纯化
已经有3人回复
所感
已经有4人回复
要不要辞职读博?
已经有7人回复
北核录用
已经有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