From Fedora Project Wiki
Code::Blocks is a free and open-source IDE written in C++ with support for the C, C++ and Fortran programming languages. It is built using the wxWidgets toolkit. It is in the official Fedora repositories.
Installation
As it is in the official Fedora repositories, merely running:
sudo dnf install codeblocks
should install it.