Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
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
Edited 21-Feb-12 5:46am
v2
Comments
zarnigar altaf at 21-Feb-12 11:36am
   
I got answer
zarnigar altaf at 21-Feb-12 11:37am
   
answer for all those have problem in in vc 2008
write it as given below:
 
#include
 
void main()
{
 
std::cout<<"Hello";
 
}
Dave Kreskowiak at 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 at 21-Feb-12 11:53am
   
Thanks for posting your solution.
zarnigar altaf at 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
0 Sergey Alexandrovich Kryukov 548
1 CHill60 390
2 OriginalGriff 323
3 BillWoodruff 213
4 PIEBALDconsult 185


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 21 Feb 2012
Copyright © CodeProject, 1999-2014
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