| 查看: 3769 | 回复: 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 求大神指点怎么修改 |
» 猜你喜欢
药学硕士,第一、第二作者已发表6 篇 SCI,药理方向及相关方向2026年/2027年博士申请
已经有4人回复
26年博士申请自荐-电催化
已经有3人回复
中国地质大学(北京)博士招生补录,数理学院材料科学与工程专业和材料与化工专业
已经有6人回复
收到国自然专家邀请后几年才会有本子送过来评
已经有4人回复
考博
已经有5人回复
26年申博自荐-计算机视觉
已经有4人回复
药化及相关博士的申请
已经有3人回复
一篇MDPI论文改变了学习工作和生活
已经有4人回复

10楼2016-03-11 11:35:18
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












回复此楼