标题:这个include字符串有什么问题吗,vc一直出现错误提示
取消只看楼主
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
结帖率:100%
已结贴  问题点数:20 回复次数:6 
这个include字符串有什么问题吗,vc一直出现错误提示
我编写了一个程序,如下:
#include <iostream.h>
int main()
{
    std::cout<<"Ilove c++\\n";
    int x;
    std::cin>>x;
    std::cout<<x;
    return o
}
但是运行时vc上提示错误:
--------------------Configuration: 3 - Win32 Debug--------------------
Compiling...
3.cpp
c:\program files (x86)\microsoft visual studio\myprojects\3\3.cpp(2) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1786)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
执行 cl.exe 时出错.

3.exe - 1 error(s), 0 warning(s)
这个是怎么回事,求解
搜索更多相关主题的帖子: microsoft include command return visual 
2016-10-17 15:01
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
哦,我再试试,谢谢啊
2016-10-17 15:42
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
还是有错误的
你看看:
#include <iostream>
int main()
{
    std::cout<<"Ilove c++\\n";
    int x;
    std::cin>>x;
    std::cout<<x;
    return 0;
}
但是显示错误是
--------------------Configuration: 4 - Win32 Debug--------------------
Compiling...
4.cpp
c:\program files (x86)\microsoft visual studio\myprojects\4\4.cpp(1) : fatal error C1034: iostream: no include path set
执行 cl.exe 时出错.

4.exe - 1 error(s), 0 warning(s)
2016-10-17 15:46
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
那能推荐好的编译器吗?我这个是刚在网上找的,也不知道什么是好的
2016-10-17 15:58
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
好的,我稍后试试,谢谢各位
2016-10-17 16:29
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
请问路径如何设置,
2016-10-17 18:59
风1235
Rank: 1
等 级:新手上路
帖 子:9
专家分:0
注 册:2016-10-17
得分:0 
我在编写一个程序
#include <iostream>
int main()
{
    std::cout<<"Ilove c++\\n";
    int x;
    std::cin>>x;
    std::cout<<x;
    return 0;
}
还是出现错误,好像是路径方面,请各位高手告诉我该如何解决;错误提示如下:
--------------------Configuration: 12 - Win32 Debug--------------------
Compiling...
12.cpp
c:\program files (x86)\microsoft visual studio\myprojects\12\12.cpp(2) : fatal error C1001: INTERNAL COMPILER ERROR
        (compiler file 'msc1.cpp', line 1786)
         Please choose the Technical Support command on the Visual C++
         Help menu, or open the Technical Support help file for more information
Error executing cl.exe.

12.exe - 1 error(s), 0 warning(s)
2016-10-18 11:10



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




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

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