View Full Version : For all you C++ Guru's !!!

04-21-01, 07:19 AM
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 ?

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.

04-21-01, 11:37 PM
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.


#include <iostream>

That's good enough.

[ 04-22-2001: Message edited by: Stu ]