Code::Blocks Forums
User forums => Help => Topic started by: psilobe on June 30, 2009, 10:13:23 am
-
Tried a search on the subject but none of the results managed to fix my problem.
Yesterday everything was working fine, using gnu gcc compiler.
Created a new project this morning and got the following:
vningar\main.c|2|iostream: No such file or directory|
I opened another project with the exact configurations as this one and that compiles fine, there is nothing in the projects options that differs.
I tried linking iostream which produced the error inside the iostream that c++config.h couldnt be found in /bits. Now i'm at my wits end trying to solve a problem that wasnt there yesterday!
-
How do you expect to have iostream in pure C?
File extensions are important for c/c++ compilers.
Also what type of project have you created C or C++?
-
I created a blank project but added a .c file instead of a .cpp and that seemed to have coused the problem.Thanks, your comment fixed it for me. :)