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-12-05
  • 2021-06-14
  • 2021-09-25
  • 2022-01-02
  • 2021-08-21
  • 2021-12-05
  • 2021-12-05
  • 2021-10-16
猜你喜欢
  • 2021-08-26
  • 2022-01-19
  • 2021-11-17
  • 2021-12-05
  • 2021-12-29
  • 2021-05-03
  • 2021-11-17
相关资源
相似解决方案