Jafe Lee

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  49 随笔 :: 0 文章 :: 24 评论 :: 0 Trackbacks
最近做的东西都要用vc,很多错误都莫名, sigh。。。 Java真好!
1、error C2146: syntax error : missing ';' before identifier 'ContextRecord'
c:\program files\psdk\include\winnt.h(3393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\psdk\include\winnt.h(3393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

原因:忘记包含头文件 windows.h了~
解决方法:包含头文件  windows.h
posted on 2007-10-11 09:20 Jafe Lee 阅读(765) 评论(1)  编辑  收藏 所属分类: C++

评论

# re: 用VC的一些问题 2007-10-24 18:47
有同感,用C#观感可能更好些  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: