User forums > Help

include type errror

(1/1)

AveekDas150:
im new to codeblocks..
when typed my C++ program  with include<iostream.h> and compiled it using GNU GCC compiler , i
got the following error

  " 'include does not name a type "

What could possibly be wrong? Plz help :'(

oBFusCATed:
Try reading this http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

papagym:
If you'd post a copy of your code that might help others help you. Be a lot more specify with you're posts.

Have you tried using #include <iostream> leaving off the .h?

Navigation

[0] Message Index

Go to full version