标题:windows.h头文件加了之后就会出错,不知道怎么回事,请教大虾一下。
取消只看楼主
loveshuang
Rank: 9Rank: 9Rank: 9
来 自:湖北武汉
等 级:蜘蛛侠
帖 子:270
专家分:1198
注 册:2010-11-14
结帖率:100%
已结贴  问题点数:10 回复次数:0 
windows.h头文件加了之后就会出错,不知道怎么回事,请教大虾一下。
这是我的实验程序
#include <iostream>
#include <windows.h>
using namespace std;

int main(void)
{
    return 0;
}

错误:
e:\工具软件\vc98\include\windef.h(171) : error C2146: syntax error : missing ';' before identifier 'LPARAM'
e:\工具软件\vc98\include\windef.h(171) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
搜索更多相关主题的帖子: 软件 
2011-04-03 16:25



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-335561-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014835 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved