The first box will determine the new filename and location (as noted, the full path is required). On the final page, you will be presented with several options. Continue through the following dialogs very much like the original project creation, selecting C++ when prompted for a language. or Main Toolbar->New file (button)->File. This file contains the following standard code.Ĭout New->File. In the Projects tab of the Management pane on the left expand the folders and double click on the source file main.cpp to open it in the editor. The main window will turn gray, but that is not a problem, the source file needs only to be opened. Press finish and the project will be generated. As seen below, Code::Blocks will generate the remaining entries from these two.įinally, the wizard will ask if this project should use the default compiler (normally GCC) and the two default builds: Debug and Release. In the next screen, give the project a name and type or select a destination folder. Continue through the menus, selecting C++ when prompted for a language. The console application wizard will appear next. Note: red text instead of black text below any of the icons signifies it is using a customized wizard script. Select Console application, as this is the most common for general purposes, an click Go. Here there are many pre-configured templates for various types of projects, including the option to create custom templates. Launch the Project Wizard through File->New->Project.
0 Comments
|