youxin

Visual Studio 2010 无法打开 源 文件 "iostream.h"

2011-11-06 19:12  youxin  阅读(3311)  评论(0编辑  收藏  举报

#include<iostream.h>是C语言风格,但是在标准C 里面,是不用#include <iostream.h>的,而要使用#include <iostream> 。VC6是在C 标准出来前发布的,所以它可以使用#include <iostream.h>这形式。 VS2010采用标准C格式。

所以应把#include<iostream.h>改为:

#include<iostream>

using namespace std;

分类:

技术点:

相关文章:

  • 2021-11-17
  • 2021-04-28
  • 2021-09-25
  • 2021-07-23
  • 2021-07-19
  • 2021-12-05
  • 2021-06-14
猜你喜欢
  • 2021-08-26
  • 2021-05-04
  • 2022-01-19
  • 2021-11-17
  • 2021-12-05
  • 2022-01-20
  • 2021-05-03
相关资源
相似解决方案