TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Code Blocks

Create Console C++ Application in CodeBlocks

Overview

In this tutorial, we will learn the steps to create Console C++ Application in Code::Blocks IDE. Code::Blocks contains several Project templates to choose from for the projects. We need to select the “Console application” new project template screen.

Environment

  • Windows 10 operating system
  • Code::Blocks IDE

Create Console C++ Application

Launch Code::Blocks IDE.

Click on the link Create New Project on the “Start here” page.

Alternatively, Choose the following menu option

File >> New >> Project…

This opens the Project wizard windows. Select Projects in the left wizard types and choose the Project template.

 

Console C++ Application CodeBlocks

 

Choose Console application project template. This opens up the new console application wizard. Click on the Next > button.

 

Console Application C++ Windows10

 

Choose the C++ language option and click on the Next > button.

Project Details

Enter project details and choose the project location.

  • Project Title
  • Project Folder

Project filename and Resulting filename path would be generated by the IDE. The project filename has a .cbp file extension.

 

Console Application Project Details

Click on the Next > button.

Choose the compiler and the project Debug and Release configurations.

Console Application Compiler Win10

Click on the Finish button.

That’s it. The Console ++ Application would be created. The project will include the main.cpp source file. We can also add new source code files *.cpp to the project.

—

Code::Blocks Tutorials

Code::Blocks Tutorials on this website can be found at:

https://www.testingdocs.com/code-blocks-tutorials/

For more information on Code::Blocks IDE, visit the official website:

https://www.codeblocks.org/

Related Posts

CodeBlocks Download Win11

Code Blocks /

Install CodeBlocks IDE on Windows 11

Add C Header File CodeBlocks

Code Blocks /

Add New C/C++ Header File to Project

Open Project CodeBlocks

Code Blocks /

Open C++ Project in Code::Blocks IDE

CodeBlocks First Launch Win10

Code Blocks /

Launch Code::Blocks IDE on Windows

Download Code::Blocks

Code Blocks /

Download Code::Blocks on Windows

‹ Create New C ++ Project in Code::Blocks IDE› Add C++ Source Files in Code::Blocks IDE

Recent Posts

  • Scaler Academy – An Online Learning Platform
  • Difference between PHP and JavaScript?
  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com