Code::Blocks Simple Hello World Console Applications

Create New Project from File -> New -> Project

Pick New Console Project then Click Go

Click Next

Select C then Click Next

Fill project title and choose folder to create project in

Choose GNU GCC Compiler and then click Finish

Create Code in main.c files
#include <stdio.h>
#include <stdlib.h>

int main()
printf(“Hello world!\n”);
return 0;

Build -> Run (or simply press Ctrl + F10) or Press F9 to Build and Run


Your first C program accomplished

Facebook Comments
Tagged with: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.