Subscribe For Free Updates
PaidVerts
Showing posts with label code blocks compiler. Show all posts
Showing posts with label code blocks compiler. Show all posts

Sunday, May 24, 2015

How to create console application with Code::Blocks

After installing code:blocks and launching it you will obtain the corresponding display:


The area (1) allows to do the following tasks:
  • search a word in the opened file
  • copy, paste, cut
  • save the current file or all the files in the project
The area (2) displays the opened projects
The area (3) contains the opened file or a list of projects that you have recently opened

Remarks:
The code::blocks project is a folder that contains many source files and only one .cbp file.
The .cbp file contains metadata used by code::blocks to open the project.

The area (4) displays build messages in the build log tab, search results and debugging stuff.

The button build: compiles source files (.c) into a .o files
The button execute: executes the currently present executable, so if you have a problem with the precedent executable and when using this button the problem persists.

The button build and run: deletes the current executable and generates a new one.I advice you to always use this button to be sure that your modifications are taken into account.

In order to create a console application, you click on File -> New -> console Application

Then you select the C language:

Select the folder where you will save your project:
The folder which contains the project is: C:\Users\Mateo\Projects\


Click on Finish and you are done.


Join us on Facebook

Please wait..10 Seconds

 
how to program in JAVA core java tutorial java developer jobs java variables for beginners best java books