| 查看: 3631 | 回复: 12 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
songsny铜虫 (初入文坛)
|
[求助]
UDF编译出错 DEFINE_DPM_HEAT_MASS 已有2人参与
|
|
|
想用UDF中的宏 DEFINE_DPM_HEAT_MASS来模拟液滴对SO2的吸收,就照着例子自己改了改,可是编译出错,又用原来的例子直接编译,发现同样的错误,代码如下:错误提示为..\..\src\multivap.c(6) : warning C4003: not enough actual parameters for macro 'DEFINE_DPM_HEAT_MASS' ..\..\src\multivap.c(7) : error C2055: expected formal parameter list, not a type list ..\..\src\multivap.c(25) : error C2109: subscript requires array or pointer type ..\..\src\multivap.c(25) : error C2106: '+=' : left operand must be l-value ..\..\src\multivap.c(26) : error C2223: left of '->energy' must point to struct/union ..\..\src\multivap.c(65) : error C2109: subscript requires array or pointer type ..\..\src\multivap.c(65) : error C2106: '-=' : left operand must be l-value ..\..\src\multivap.c(66) : error C2223: left of '->species' must point to struct/union ..\..\src\multivap.c(68) : error C2109: subscript requires array or pointer type ..\..\src\multivap.c(68) : error C2106: '-=' : left operand must be l-value ..\..\src\multivap.c(70) : error C2223: left of '->energy' must point to struct/union 求大神指点怎么修改 |
» 猜你喜欢
面上可以超过30页吧?
已经有13人回复
网上报道青年教师午睡中猝死、熬夜猝死的越来越多,主要哪些原因引起的?
已经有10人回复
为什么中国大学工科教授们水了那么多所谓的顶会顶刊,但还是做不出宇树机器人?
已经有13人回复
什么是人一生最重要的?
已经有8人回复
版面费该交吗
已经有17人回复
体制内长辈说体制内绝大部分一辈子在底层,如同你们一样大部分普通教师忙且收入低
已经有19人回复
【博士招生】太原理工大学2026化工博士
已经有8人回复
280求调剂
已经有4人回复
3_1415926
金虫 (小有名气)
- 应助: 8 (幼儿园)
- 金币: 1994.3
- 红花: 6
- 帖子: 159
- 在线: 57.3小时
- 虫号: 1853296
- 注册: 2012-06-09
- 性别: GG
- 专业: 工程热力学
5楼2016-03-08 10:45:42
3_1415926
金虫 (小有名气)
- 应助: 8 (幼儿园)
- 金币: 1994.3
- 红花: 6
- 帖子: 159
- 在线: 57.3小时
- 虫号: 1853296
- 注册: 2012-06-09
- 性别: GG
- 专业: 工程热力学
2楼2016-03-04 20:53:34
3楼2016-03-07 19:17:10
3_1415926
金虫 (小有名气)
- 应助: 8 (幼儿园)
- 金币: 1994.3
- 红花: 6
- 帖子: 159
- 在线: 57.3小时
- 虫号: 1853296
- 注册: 2012-06-09
- 性别: GG
- 专业: 工程热力学
4楼2016-03-08 10:44:09













回复此楼