Apr 3, 2013 at 2:42am UTC
I am a new user of codeBlocks compiler.
I installed it.And write a simple Hello World program.
But it shows the error
Fatal error : iostream.h:No such file for directory
When i delete this header file, it shows
undeclared character, cout...
How can i fix it ??
Apr 3, 2013 at 2:47am UTC
closed account (
O.o why did you delete it? Anyway the syntax is #include <iostream> there is a difference and it is important.
Apr 3, 2013 at 3:01am UTC
<iostream.h> is not a header defined by the C++ programming language standard, so it makes sense that your compiler doesn't know what you're talking about.
I think you meant
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2013 - All rights reserved -
Spotted an error? contact us