Monday, 27 November 2017

Set the Compilation Path for the IDE

After installing the Integrated Development Environment or the Platform for C or C++, the compiler won't recognize the actual path where the source file had stored. So, we have to set the given path in Environment Variables.
  1. Right click on the My Computer icon on the desktop. Then go to Properties
  2. Then click on the Advanced System Settings.
  3. Then the System Properties Window would appear. In that window, go to Advanced tab and click on the Environment Variables button.
  4. Then click on the “New” button in the Environment Variable window under the System Variables
  5. Then you would get a popup window as shown below.
  6. Change the System variable as given below.
    • Variable name: PATH
    • Variable value: C:\Dev-Cpp\bin;
  7. Then Click OK as marked.

* Once you have done with the above settings, you have open the DEV C++ IDE.
* Now you could write the program and compile them. After the execution, the result would evaluate.