Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot open include file iostream.h

Status
Not open for further replies.

mwas

Programmer
Nov 20, 2002
3
ES
Hi

I am abit new. I crashed at hello world. This is my code

\\first c++

#include <iostream.h>

int main()
{
cout << &quot;Hello World!&quot;;
return 0;
}

The error is. Cannot open include file iostream.h

I tried #include <c:\\borland\\bcc55\\include\\iostream.h> No luck
I put c:\borland\bcc55\include in the path. No avail.

Is there anything I am not doing which I should ?
 
try #include &quot;c:\\borland\\bcc55\\include\\iostream.h&quot;

use the &quot; instead of the <
 
Hi

Thanks for your reply. It did not work though.

Daniel
 
Did you check to see if the file is actually there? --------------------------------------
It's not the monsters under your bed, it is the men next door.
That make you fear, make you cry. Make you cry for the Child.
All the wars are fought amongst those lonely men. Unharmed, unscarred.
 
Thanks for all the help. I discovered that I had not created bcc32.cfg and ilink32.cfg. Now I am saying hello to the world.

Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top