hi code::blocks users. i need help. whenever i make a project lets say an empty project and lets say i name it calculator.when it compiles it is called calculator.c.how do i change it to calculater.cpp so i can compile it in c++ code instead of c.i cant find where to type it in or something?
Usually, the project creation wizard asks you whether you want the project in C or C++. It's the first dialog box I believe. I think C++ is the default option, though. If C was chosen, setting the extension to .CPP will cause linker problems. Try fiddling with the project options in Project >> Properties.