当代明月分享 http://blog.sciencenet.cn/u/chenfanglin

博文

illegal use of this type as an expression

已有 8789 次阅读 2010-3-18 20:28 |个人分类:VC|系统分类:科研笔记

answer on internet:

This is C, you can't mix declarations and statements.

Move this to the start of the block where the rest of the variables are.



https://blog.sciencenet.cn/blog-3199-304151.html

上一篇:error LNK2005: xxx already defined in libcmt.lib(xxx.obj) MSVCRT.lib
下一篇:腐蚀,膨胀
收藏 IP: .*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-7-28 04:33

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部