문제

I am trying to learn how to program in the c++ language and I have downloaded Code::Blocks as advice from an online tutorial, when creating a new project on Code::Blocks and selecting a console application it opens with a small program that should say "hello world" when I try to build and run this program it says "this project is not built yet, would you like to build it?" I select yes and absolutely nothing happens. On the build log it says 0 errors and when I click build and run again it says its not built! I have no clue what to do or what is wrong, can anybody help?

도움이 되었습니까?

해결책

You don't have a compiler or you haven't configured CodeBlocks with a compiler.To fix it:
Download and Install a C/C++ compiler for your OS and configure CodeBlocks to use it. Or if you are using Windows you can also download this CodeBlocks setup which already includes MinGW compiler.

다른 팁

I found the exact same issues. You just need to create a project/C++ source file instead of the empty file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top