Jul 24, 2008

C Language - Tutorial Part 1

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

free web hosting

C Language - Tutorial Part 1

faizy999
A C language is a middle level language first used to devolop the unix operating system.
Why it is called middle level language because it has the power of low level and high level languages Wrinting a first program in c language is so easy. u first have to write its code then compile in a compiler which creates it executable file to run. What u need to write and compile a C language program.
1: A compiler for eg (Borland C++ Compiler v5)
this compiler also compile with c compatibality. it also includes its built it editor on which u write your code. After getting this compiler or any other that suits u write the following code.


CODE
#include <stdio.h>
#include <conio.h>
void main (void)
{
    clrscr();                                 //Clears the screen
    printf("Write Your Here");        //Prints the text in Quatations
    getch();                                 //waits for a key to press
}

Description Of Program::>>
Above Prgram Simply Prints the text written under the quatation marks now i explain what each line mean in the program
first of all forget these statements right now #include <some_name>
what clrscr do it clears your dos screen
printf prints the text inside the quatation marks
getch wait until the is presses
When u write this u have to compile and link it so an executable file is made of your program when u run this program tell me what u experianced.
Also need more Help Just ask Here In this Topic . cool.gif

 

 

 


Reply

ravi
I had approched for a C prog test and This was the prog which was given to me..

Write a program to calculate 2 numbers whose INPut is text Format i.e. Alphabetic ( in figures) . So the entire input will be in figures. Suppose u want to add 657 and 42554. Then ur gonna enter six hundred and fifty seven plus ......
The Program is supposed to calculate this and retuen the answer in FIGURES. See if u can try it.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics
Looking for c, language, part, 1

Searching Video's for c, language, part, 1
advertisement



C Language - Tutorial Part 1



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE