1. Download Eclipse CDT
  2. Install MinGW-w64
  3. Double click on seup and select as shown in the image
  4. Open any C++ project in eclipse, under Windiow -> Preference add MinGW environrment as variable
    as follows.