注册 登录
编程论坛 C++教室

求助!

魔兽世界玩腻了 发布于 2008-10-15 23:27, 445 次点击
我用Microsoft Visual Studio2008 创建一个Win32控制台程序,创建好后为什么
只能用C语言的printf和scanf输入输出,而不能包含iostream.h文件,一写
#include<iostream.h>就会报一个找不到该文件的错误
高手们帮个忙啊!
2 回复
#2
debroa7232008-10-16 12:07
#include<iostream>
这样写。
#3
choco10242008-10-16 17:14
#include <stdafx>
#include <iostream>
using namespace std;
1