I can guide you step by step on installing Dev C++ on Windows 11 and configuring the compiler so you can run C++ programs smoothly. Let’s go through it carefully.
.exe installer (usually named something like Dev-Cpp-2022.exe).⚠️ Make sure to download the latest version, which comes with the GCC compiler built-in. This avoids separate compiler configuration.
.exe file.Follow the installation wizard:
C:\Program Files\Dev-Cpp).Newer Dev C++ versions usually include MinGW GCC compiler. But if your installation doesn’t detect the compiler:
Check the Compiler’s installation directory path:
C:\Program Files\Dev-Cpp\MinGW64 (or similar).Make sure the following executables exist in bin folder inside the compiler directory:
gcc.exeg++.exegdb.exe (optional for debugging)#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
hello.cpp.F11).Hello, World!
✅ If this works, your Dev C++ installation and compiler are properly configured.
If you want to compile programs using Command Prompt:
Add the path to the bin folder of your MinGW compiler to Windows PATH:
C:\Program Files\Dev-Cpp\MinGW64\binOpen Command Prompt and type:
g++ --version
You should see the GCC version.