标题:各位大神,刚发现随便写个程序,却一直提示错误,求解释。
取消只看楼主
郑风十一
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2017-3-13
结帖率:100%
已结贴  问题点数:20 回复次数:1 
各位大神,刚发现随便写个程序,却一直提示错误,求解释。
#include "stdio.h"
int
main()
{
    int x,y,sum=0;
    x=5;
    y=6;
    sum=x+y;
    printf("Output:\n");
    printf("sum=%d",sum)
   
}
--------------------Configuration: vc2 - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
vc2.cpp
e:\baiduyundownload\vc2\vc2.cpp(18) : fatal error C1010: unexpected end of file while looking for precompiled header directive
执行 cl.exe 时出错.

vc2.exe - 1 error(s), 0 warning(s)
搜索更多相关主题的帖子: unexpected include warning 
2017-03-13 22:57
郑风十一
Rank: 1
等 级:新手上路
帖 子:26
专家分:0
注 册:2017-3-13
得分:0 
#include <stdafx.h>
2017-03-14 22:12



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




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

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