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.
- Right click on the My Computer icon on the desktop. Then go to Properties
- Then click on the Advanced System Settings.
- Then the System Properties Window would appear. In that window, go to Advanced tab and click on the Environment Variables button.
- Then click on the “New” button in the Environment Variable window under the System Variables.
- Then you would get a popup window as shown below.
- Change the System variable as given below.
- Variable name: PATH
- Variable value: C:\Dev-Cpp\bin;
- 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.