Saturday 31 August 2013

Computer Programming


Hello Friends !!
We are Provide You The all Solution About the All Programming Languages and Their Tricks !!!!


What is source code? 
A series of commands, in the form of text, that tell the computer exactly what to do. 

What is machine language? 
Machine language, also known as binary, is a number system of 1's and 0's that the computer can understand. Consider a switch; a 1 would represent that the switch is in the on position, and a 0 would represent that the switch is off. Now think of millions of switches like that, and millions of 1's and 0's. That is all the computer knows. 

What is a programming language? 
Because the binary system is extremely difficult , and impractical to learn, we use programming languages. Programming languages are a common ground of understanding between the computer and you. Programming languages are created by humans however, subsequently giving each one specific advantages and disadvantages. 


Now , we are going to teach you first how to create a simple hello world programm in C in windows Operating System.
First You Need to Download Turbo C. from the link is given below Click Here.
How to install TURBO C++ for windows xp and 7.
1. First of all download the compiler from the link given above.
2. Now extract the zip file and than open TC3SETUP.
3. After that click on Unzip. You can also change the path where you want to install it.
4. By default it is installed in C:\TC.

How to create Simple C Programm to Print Hello.
#include"stdio.h"
#include"conio.h"
void main()
{
         clrscr();
         printf("Hello");
         getch();
}
Output :-Hello

How to Add two Values using C.
#include"stdio.h"
#include"conio.h"
void main()
{
         int a,b,c;
         clrscr();
         a=10;
         b=30;
         c=a+b;
         printf("Addition is : ",c);
         getch();
}
Output :-Addition is : 40