The Orwell fork of Bloodshed DevC++ still works, and is a lot lighter than many other IDEs that have been suggested.
https://sourceforge.net/projects/orwelldevcpp/However it is a bit fussy to set up to use a recent GCC compiler properly. Grab TDM-GCC 10.3.0 from:
https://jmeubank.github.io/tdm-gcc/ and install it. You probably want (and only need) the 64 bit install unless you are using a legacy 32 bit Windows. Make sure you add the MinGW tools folder to your user (or system)
path (on my system that's
C:\TDM-GCC-64\x86_64-w64-mingw32\bin ), otherwise Dev C++ cant do a 'Clean' or 'Rebuild All' successfully (the default makefile needs rm.exe to be findable on the path).
Next you need to set up the new TDM-GCC 10.3.0 compiler. in Dev C++. Launch Dev C++ and without opening a project, open the menu 'Tools': 'Compiler Options'. Use the 'Add a compiler set by folder' button (middle of the five grouped buttons - green +) and give it your TDM-GCC root folder (on my system that's
C:\TDM-GCC-64 ). Rename the new compiler from
TDM-GCC 10.3.0 to
TDM-GCC 10.3.0 64-bit Release (assuming your on Win x64). Now add another instance of the same compiler, but this time rename it to
TDM-GCC 10.3.0 64-bit Debug and in the tab 'Settings': 'Code Generation', set the 'Optimization level (-Ox)' to 'Debug (g)', in the tab 'Settings': 'Linker', set 'Generate debugging information (-g3)' to 'Yes', and check that 'Strip executable (-s)' is set to 'No'.
For convenience, you may wish to add some utilities to the Dev C++ tools menu (by 'Tools': 'Configure tools...').
I have:
'Explore Project Files' which invokes
explorer.exe with parameters
<PROJECTPATH>'Console (in project folder)' which invokes
C:\Windows\System32\cmd.exe with working directory
<PROJECTPATH>You should now be able to follow any reputable Dev C++ tutorial, or book using Dev C++ with no IDE or toolchain issues.