- x64 bit JAVA JDK/JRE installed with JAVA_HOME defined.
- Download and Install Eclipse IDE for C/C++ Developers
- Download and Install MinGW GNU Compiler Collection (GCC)
- Setup compiler path in Eclipse IDE pointing to MinGW
- Goto google.com and search for Eclipse IDE for C/C++ Developers
- Downlaod the latest x64 bit version ZIP file for the IDE.
- Extract it on C:\
- Ensure C:\eclipse\eclipse.exe exists.
- Goto https://osdn.net/projects/mingw/
- Download mingw-get-setup.exe
- Run mingw-get-setup.exe to Install MinGW Installation Manager
- Select the default installation path for MinGW i.e. C:\MinGW
- During the installation it will prompt you to select required packages.
- Select mingw32-base-bin and mingw32-gcc-g++-bin
- Proceed further and finish the Installation.
- Ensure you have C:\MinGW\lib\gcc\mingw32 path now.
- Create System Environemnt Variables -
- MINGW_HOME = C:\MinGW
- Append Path with %MINGW_HOME%\bin
- Run C:\eclipse\eclipse.exe as admin to launch Eclipse IDE
- Setup workspace
- Go to File Menu and create a new C++ Project.
- Write a C++ program and Run/Debug it as C++ Local Application