www.flickr.com

Learn C programming like ABC

Sunday, April 17, 2011 Posted by Glenn

Do you want to Learn C programming like ABC? well, just follow this steps.1. Download any C compiler like Dev C++ (click here to download Dev C++ compiler2. Stay here on teachme-online.blogspot.com Alright! If you already have a C compiler, we shall make our first C program.Now, open your compiler and type this.#include <stdio.h>#include <conio.h>main(){ printf("Hi! This is my first C program! hehe");getch();}I would like to explain the fragment of our first C program. First of all, what is that #include thing?#include means you want to include a header. Header is a file that has an extension of .h. Example of a header is the stdio and the conio. The stdio.h is a header which means standard input output and the conio.h is a header that allows our compiler to read the getch(); function. Our main function in this program is the main() Our codes are putted inside the main function. Which is the printf("Hi! This is my first C program! hehe");The printf(" "); is a function which means to print out or output any numbers of phrases.Later, on our second tutorial, we shall know the second important function. The scanf(); function. Now, what is the use of ; ? That semi-colon means our terminator which means it terminates our printf function and our getch function.//End of our 1st Discussion.//Click here to go to the 2nd Discussion.

glenn von

Author: Glenn Posadas

20 year old 5th year Computer Engineering Student, a blogger, photographer, programmer, and an electronics hobbyist; a Christian who loves God very much..

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

  1. I am not a programmer but I have this C language subject this session and have to prepare for it. What all topics should be covered in it?
    And has anyone studied from this course http://www.wiziq.com/course/2118-learn-how-to-program-in-c-language of C tutorial online?? or tell me any other guidance...
    would really appreciate help

  2. hi Christi, sorry for the late reply and sorry for this post. This post is somewhat unreadable for beginners. lol

    I would suggest that you buy a book entitled: "TEACH YOURSELF C" if you really want to study C programming.

    Anyway, here are the topics you would want to study in advance because these are essentials and will be discussed to you:

    1. Basic Input/Output
    2. Looping: FOR loops, While Loop, Do-While Loop
    3. Conditional statement: IF-ELSE statement, Switch-case
    4. Creating your own functions.

    glenn

Post a Comment

Drop a comment. Thank you guys!