Code::Blocks Forums

User forums => Help => Topic started by: RealHighlander on July 01, 2016, 04:07:18 am

Title: compiles and executes C programs, but does not find c++ header files
Post by: RealHighlander on July 01, 2016, 04:07:18 am
Hello, this is really me, I´m new to CB and need to use C++ programs. I can see PCH files like iostream in CB installation, but ld.exe reports header file errors when I try to compile C++ programs, although C programs compile and run correctly. The c++ programs do have a .cpp extention, so that´s not the cause.  I´ve searched FAQs but sadly, still cannot find a solution and would be grateful if someone could help.
Title: Re: compiles and executes C programs, but does not find c++ header files
Post by: oBFusCATed on July 01, 2016, 10:04:44 pm
Sorry you get the standard answer - please read this page in the faq: http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F