By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,985 Members | 2,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,985 IT Pros & Developers. It's quick & easy.

hi, i recieve this error in my programms:iostream.h:no such file or directory

P: n/a
i dont know why i recieve this error in most of my programms. eg:
#include< iostream.h >
int main ( )
int a;
int b;
int sum;
cout<<"enter two integer numbers">>
cout<<"sum is"<<sum<<"0"
return 0;
Nov 21 '10 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
iostream.h is C++ from before 1998. Most compilers do not ship those antique headers.

Try <iostream>, which is the new header.

None of the standard ANSI C++ headers end in ".h".
Nov 21 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.