The free Code:Blocks IDE for C++ and Fortran of course export to .cpp files (C++ source codes) is possible with it. It is extremely unlikely any other software can be used for this, as .cbp files (projects from Code:Blocks) are exclusive to the original software and not supported in anything else.
Updated: March 15, 2023