Here is what worked for me:
Go to the left panel that says projects, and right-click on .cpp file. Select properties, then go to build. Check the boxes under the heading Belongs in Targets: “Debug” and “Release”
More Related Contents:
- c++ help me to understand why there is no output [closed]
- No error/warning for multiple cout in one statement
- Program stopped working, when tried to run
- How do I link to a library with Code::Blocks?
- “Undefined reference to” template class constructor [duplicate]
- the procedure entry point __gxx_personality_v0 could not be located
- Good debugger tutorial for beginners [closed]
- How to use graphics.h in codeblocks?
- Program can’t find libgcc_s_dw2-1.dll [duplicate]
- C++ Boost: undefined reference to boost::system::generic_category()
- Adding static libcurl to Code::Blocks IDE
- How to debug in Codeblocks?
- C++: Where does the ofstream class save the files to?
- Qt undefined reference to vtable [duplicate]
- fatal error: iostream.h no such file or directory [duplicate]
- Getting Clang to work on windows
- Is it possible to force c++ class instantiation on the heap?
- std::unique_ptr with an incomplete type won’t compile
- virtual assignment operator C++
- std::strings’s capacity(), reserve() & resize() functions
- Converting epoch time to “real” date/time
- copy elision: move constructor not called when using ternary expression in return statement?
- how to convert from int to char*?
- Function in C++ returns by value or by reference?
- Why there is no placement delete expression in C++?
- Does constraint subsumption only apply to concepts?
- Why does this program crash: passing of std::string between DLLs
- Can’t get visual studio C++ include file ‘excpt.h’ to get installed
- Why doesn’t a negative number modulo a vector size give a negative number? [duplicate]
- C++ delete does not free all memory (Windows)