How To Start Programming With C

when You Installed Turbo C and C++ after that you want to know how to start programming

Here I will tell you that
Open DosBox That Is On Your Desktop(As A shortcut of DosBox)
when It open Click On "File" after that on "new"
now you seen a blue page
click on it
write the first is headerfils
header files are
#include<conio.h>
#include<stdio.h>
#include<math.h>
#include<graphics.h>
//etc..........
//after that you need to write any message but before that
//you need to write the main body so write
main()
{
//now you start your programme's body
//here you can write your msg
//for writing messege neet to put the command and the command is
//"printf" now see how can use this command
printf("My First C Programme");
getch();
}

now your programme is ready

see your fully programme that will show Your message"My First C Programme" is

#include<conio.h>
#include<stdio.h>
#include<math.h>
#include<graphics.h>
main()
{
printf("My First C Programme");
getch();
}

and most importent is this before run this save with .c name
like that myfirst.c of no1.c or myprog.c
but always have .c exetensen

Any More Info Click Any Other post
any Help Comment here

No comments:

Post a Comment