错误提示:
d:\program files\microsoft visual studio\vc98\include\comip.h(669) : error C2059: syntax error : 'end of file'这是什么原因阿?请指点解决办法!

解决方案 »

  1.   

    说一下你的基本情况嘛
    syntax error : 'token'The token caused a syntax error. Problems of this type can sometimes be attributed to a syntactical or clerical error. For example:void main (             // No closing parenthesis.
    {}In the preceding example, the error message will be generated for the line which contains the open curly bracket, although the true source of the error appears on the line just above. As a general rule, make sure to also examine the lines above the line listed in the error message when trying to determine the cause.Tips If examining the line listed in the error message yields no clue to what the problem might be, try commenting out the line and recompiling the source code. Also, sometimes commenting out several lines directly above the line listed in the error message will help narrow down the cause.
    If the error message occurs on a symbol immediately following a typedef'd variable, ensure that the variable has been defined somewhere in the source code. 
    你的代码有问题,基本上认为是开始和结束符不完全匹配,包括ifdef这种类型的