Create Console C++ Application in CodeBlocks
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.
- 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.
Choose Console application project template. This opens up the new console application wizard. Click on the Next > button.
Choose the C++ language option and click on the Next > button.
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.
Click on the Next > button.
Choose the compiler and the project Debug and Release configurations.
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 on this website can be found at:
For more information on Code::Blocks IDE, visit the official website: