View Full Version : For all you C++ Guru's !!!
I was using Turbo C++ to make a simple c++ application, and when i try to run the thing, the error message i get is could not open include iostream.h file, and all the files are there, is this just a software problem or what ???
Can some one hook me up with a good C++ Program ?
Zero_Satisfaction
04-21-01, 02:32 PM
I assume you have a line like this:
#include <iostream.h>
Problem is that you don't have "iostream.h" or its in a different location then what you specified.
In addition to what Zero_Satisfaction said, you don't need the .h. Part of the C++ specification gets rid of the .h in include files, and renames (or rather allows you to include) C header files using a "c" in front and getting rid of the .h (i.e. cstdio is the same as stdio.h)--this cuts down on the need for extern "C" { ... } includes.
Keep in mind this is for the include files that come with the compiler only.
So:
#include <iostream>
That's good enough.
[ 04-22-2001: Message edited by: Stu ]
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.