In this tutorial I will teach you how to compile your C source code with the help of Dev-C++.
Today I have written many posts for the Blog so this one is also for you guys.
You can download Dev-C here. DOWNLOAD
So lets move with the tutorial.
Step 1- Open Dev-C and Click on File >> New >> Project

Step 2- Now a dialog box will appear Click on Console Application Icon and Choose C Project you can Name your file for less confusion Here I have named Hackerarpit.

Step 3-Click on OK Now a dialog box will appear asking where to save your project So create a New Folder and Save your file there.

Step 4-Now as you save a code will be displayed there Delete all the CODE.
Step 5- Copy the following code and paste it there.
#include<stdio.h>
main(){printf(“Hacker Arpit Dahal\n”);system(“pause”);}
Step 6- Press F9 or go to Execute >> Compile & Run

Step 7- Now a Command prompt will appear with the message Hacker Arpit Dahal.

No comments:
Post a Comment