Howdy
The first of my tutorials on C.We are going to take small steps at a time so that readers are able to grasp the constructs of the language.Since this is the first tutorial I have ever written,it directly implies that feedback and doubts are welcome.
Without further ado lets begin....
To program in C the first thing you'll be needing is an IDE(Integrated Development Environment) that can compile and run C programs.
IDE-->An IDE is a software application that provides various facilities to enable ease of software development.eg.PellesC,TurboC,DevC++,BorlandCpp
I will be using Dev C++.
Download Link:
http://download.cnet.com/Dev-C/3000-2069_4-12686.html
The main components of an IDE are:code editor,compiler and/or interpreter,debugger.
The code editor is the one where you type your code.
The compiler is the one that converts the code written in a high level language(int this case C) to machine language.
Debugger allows to check for bugs(errors) in your code.
There are other features and components in modern IDE's like autocomplete,a version control system, various tools that simplify the construction of a GUI,etc.
A short intro to C
C is a general purpose programming language developed by Dennis Ritchie at AT&T Bell Labs to implement the Unix operating systems.C is a system programming language.One of its major uses today is in programming embedded systems. However C can be used as a portable, structured high-level language to write programs such as powerful word processor, database, and graphics applications.The power of C lies in how you implement its libraries and language constructs to achieve a particular task.
A programming language consists of a set of commands that tell the the computer to perform a particular task(eg.print the contents of a file).C is a procedural language which means it uses functions(collection of statements) to achieve a particular task.A statement is a command(s) terminated by a semi-colon.
That will be all for this tutorial.Hope you like it.
The first of my tutorials on C.We are going to take small steps at a time so that readers are able to grasp the constructs of the language.Since this is the first tutorial I have ever written,it directly implies that feedback and doubts are welcome.
Without further ado lets begin....
To program in C the first thing you'll be needing is an IDE(Integrated Development Environment) that can compile and run C programs.
IDE-->An IDE is a software application that provides various facilities to enable ease of software development.eg.PellesC,TurboC,DevC++,BorlandCpp
I will be using Dev C++.
Download Link:
http://download.cnet.com/Dev-C/3000-2069_4-12686.html
The main components of an IDE are:code editor,compiler and/or interpreter,debugger.
The code editor is the one where you type your code.
The compiler is the one that converts the code written in a high level language(int this case C) to machine language.
Debugger allows to check for bugs(errors) in your code.
There are other features and components in modern IDE's like autocomplete,a version control system, various tools that simplify the construction of a GUI,etc.
A short intro to C
C is a general purpose programming language developed by Dennis Ritchie at AT&T Bell Labs to implement the Unix operating systems.C is a system programming language.One of its major uses today is in programming embedded systems. However C can be used as a portable, structured high-level language to write programs such as powerful word processor, database, and graphics applications.The power of C lies in how you implement its libraries and language constructs to achieve a particular task.
A programming language consists of a set of commands that tell the the computer to perform a particular task(eg.print the contents of a file).C is a procedural language which means it uses functions(collection of statements) to achieve a particular task.A statement is a command(s) terminated by a semi-colon.
That will be all for this tutorial.Hope you like it.