Configuring Dev-C++

  • Home
  • Configuring Dev-C++
Shape Image One

CONFIGURING DEV-C++

advanced divider

CONFIGURING DEV-C++:

Dev-C++ will require some configuration when it runs first time. Set” English (Original)” as default language and click “Next” to continue. On the “Theme” selection dialog box leave the default setting and click on “Next” and “OK” to continue.

LINKER SETTING FOR DEBUGGING

Linker setting for debugging is required first time to obtain information about problems in source code. The following steps are used to enable this configuration.
⦁ Click on Tools then Compiler Options and open the Settings tab.
⦁ Under Settings tab, open Linker tab. In Linker tab change the Generate Debugging Information (-g3) options to Yes.
⦁ Click on OK to save settings.

DEVELOPING PROGRAM IN DEV-C++:

Development of C++ program requires writing source code and saving those files for compilation. The steps to create a new project in Dev-C++ are:

⦁ Click on File then click New » Project.
⦁ In New Project dialog, Select Empty Project then select C++ Project. Also enter Name for project.
⦁ Click on OK. Dev-C++ will ask path to save the new project, enter path and save project.

ADD NEW FILES TO PROJECT IN DEV-C++:

The steps to create a new file are:
⦁ Click on Project » New File.
⦁ Click on Yes on the confirm dialog box.
⦁ To save file, click on File » Save. Enter the path and provide its name. Click on Save to store the file.

COMPILE & EXECUTE PROJECT IN DEV-C++:

The steps to compile and execute project are:
⦁ To compile, click on Execute » Compile or press F9 key.
⦁ After successfully compiling the project, run it by clicking on Execute » Run or by pressing F10 key.
⦁ A console will open and show the output of the program.

Quiz

advanced divider