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

Yes

Your first C program accomplished

Yohan Naftali

Leave a Reply

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