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 New C ++ Project in Code::Blocks IDE

Overview

In this tutorial, we will learn the steps to Create New C++ Project in Code::Blocks IDE. Code::Blocks contains several Project templates to choose from for the projects.

A project is a container that contains all the project-related source code files, header files, configuration files, etc. Projects are created in a workspace.

Environment

  • Windows 10 operating system
  • Code::Blocks IDE

Steps to install Code::Blocks IDE on Windows

Create New C++ Project

Launch Code::Blocks IDE.

https://www.testingdocs.com/launch-codeblocks-ide-on-windows/

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

 

Create a New Project CodeBlocks

Alternatively, Choose the following menu option

File >> New >> Project…

 

Create C++ Project CodeBlocks IDE

 

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

To start from scratch, choose the Empty project template and click on the Go button. We can also double-click on the Empty project template to launch the wizard.

Click on the Next > button.

Empty Project CodeBlocks

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.

Project Details CodeBlocks

 

Click on the Next > button.

In the next screen, choose the C++ compiler.

Select the options to create the Project Debug and Release configurations.

Project Configurations CodeBlocks IDE

 

Click on the Finish button to create the project in the IDE.

That’s it. An empty new C++ project is now created. We can add source code files *.cpp to the project.

Add Source Files

https://www.testingdocs.com/add-c-source-files-in-codeblocks-ide/

—

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

‹ Debug a C Program in Code::Blocks› Create Console C++ Application in CodeBlocks

Recent Posts

  • Update draw.io on Windows
  • 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
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com