Click here to Skip to main content
13,048,406 members (114,255 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory when trying to compile your C / C++ code
Posted 21-Feb-12 5:35am
Updated 21-Feb-12 5:46am
v2
Comments
zarnigar altaf 21-Feb-12 11:36am
   
I got answer
zarnigar altaf 21-Feb-12 11:37am
   
answer for all those have problem in <iostream.h> in vc 2008
write it as given below:

#include <iostream>

void main()
{

std::cout<<"Hello";

}
Dave Kreskowiak 21-Feb-12 11:47am
   
Modified tags. Removed C# and added C++ as this has nothing to do with C# at all.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

answer for all those have problem in <iostream.h> in vc 2008
write it as given below:

#include <iostream>

void main()
{

std::cout<<"Hello";

}
  Permalink  
Comments
Marcus Kramer 21-Feb-12 11:53am
   
Thanks for posting your solution.
zarnigar altaf 21-Feb-12 12:00pm
   
pleasur

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 21 Feb 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100