Dev-C++ Official Website

Dev-C++

Dev-C++ is an integrated development environment (IDE) to write C++ programs. It is developed by Bloodshed Software. It is a graphical IDE that can be used to create C++ programs using the MinGW compiler system.

Dev-C++

Installing Dev-C++

The following procedure is used to install Dev-C++:

  • Download the latest version of Dev-C++ from the following:
  • Double click the downloaded file. The installation process will start as follows:

Dev-C++


The following screen will appear after a few seconds.

Dev-C++

Click OK. The License Agreement screen will appear.

Dev-C++

Click 1 Agree. The next screen will appear.

Dev-C++

Click Next. The next screen will appear

Dev-C++

Click Install. The installation process will start.

Dev-C++

The following screen will appear when the installation is complete.

Dev-C++

Click Finish

Configuring Dev-C++

The following procedure is used to configure Dev-C++

Start Dev-C++ for the first time. The following screen will appear.

Dev-C++

Select English (Original) in Select your language list and click Next. The following screen will appear.

Dev-C++

The Click Next. The following screen will appear.

Dev-C++

Click OK. The main window of Dev-C++ will appear.

Dev-C++

Click Tools > Compiler Options. The Compiler Options window will appearscreen6. Click Setting tab.

Dev-C++

  • Click Code Generation tab
  • Select 150 C++ 11 from the list box next to Language standard (std)
  • Click OK

Dev-C++

Dev-C++ Menus

Some important menus of Dev-C++ IDE are as follows:

File

It contains the commands for creating new projects, opening existing projects, printing source code and exiting Dev-C++ IDE etc

Edit

It contains the command for copying the code, pasting the code, undo and redo etc

Search

It contains the commands for finding, replacing and going to a specific line number etc

Project

It contains the commands for adding or removing files from a project.

Execute

It contains the commands for compiling, running and debugging.

Tools

It contains the commands for applying different options.

Windows

It contains the commands for managing different windows in Dev-C++ IDE .

Help

It contains the commands for getting help about Dev-C++ IDE The user can press F1 to display help.

Creating and Editing a C++ Program

The following procedure is used to write a C++ program in Dev-C++

  • Start Dev-C++.
  • Click File > New > Project. The New Project window will appear.
  • Click the type of project such as Console Application
  • Type the project name in Name textbox
  • Click OK The Save As dialog box will appear 6. Select the desired location to save the project files
  • Click Save The new project will be created.

Type the following code:

Dev-C++

Compiling a C++ Program

The following procedure is used to compile a C++ program in Dev-C++. 

  • Click Execute > Compile OR press F9. The program will be compiled.

Executing a C++ Program

The following procedure is used to execute a C++ program in Dev-C++.

  • Click Execute > Run OR press F10. The program will be executed.

Post a Comment

0 Comments