interested in C Programming
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: interested in C Programming

  1. #1
    Senior Member
    Join Date
    Jun 2004
    Posts
    137

    interested in C Programming

    can you help me out guys

    im interested in C programming. I really want to learn so i can pursue my knowledge.
    Any suggestions guys, if i will buy a book, or enroll in a good school , or just find a good tutorials sites or free books online.

    The truth is this is my first time to program help me out guys i want to learn.
    Can you give me somem tips and anything under the sun that can help me out..

    I have already a background in electronics, I want to know more about Programming...

    THANKS GUYS..

    GOD BLESS YOU ALL

  2. #2
    well, i've just started programming about 4,5 months ago, and i started with C.

    you can visit my site for examples of the programs i have written, and the tutorials i have used (self-study) can mostly be found on www.freeprogrammingresources.com.

    i use dev-cpp as compiler, it's free, and it's easy to use..


    hope this helps,

    ps:

    your first tutorial:

    Code:
    #include <stdio.h> //needed for the input/output functions
    #include<stdlib.h> // needed for the EXIT_SUCCESS value.
    
    int main(void) //the main function without (void) any arguments but with (int) a return value.
    {
              printf("Hello world!"); //print a line to standard output (monitor)
              return EXIT_SUCCESS; //return the exit status back to the operating system
    }
    the main function is the function which is always there in C code. this is your first program, when you copy the above code to the C compiler of your choice, save it as hello.c and compile it, it will print Hello World! to the screen.
    everything in the code behind the double slashes // is comment, this is for the author only, the compiler doesn't do anything with these text.

    regards,

    scorpius

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Posts
    534
    Hey jin C language is the easy to learn language.

    ok u can visit sites like :

    www.cprogramming.com
    www.codeguru.com
    www.1001tutorials.com
    and ofcourse www.google.com

    u will find tons of free tuts on C programming.

    also try using some basic compilers initially like Borland C or Turbo C that will be easy than u can go to Dev C++ and VC++ editors/compilers.

    Well some initial help from my side also :

    printf("This is a test line") --> will print the line on the console.
    scanf("%d", &a) --> will accept an integer from the keyboard.
    note : %d will accept an integer.
    %c will accept a character.

    sample code :

    void main()
    {
    int no;

    printf("Enter a no : ");
    scanf("%d", &no);

    printf("The no is : %d\n", no);
    }

    this program will promt the user to accept a no. and than it will print the same on the console.

    Happy programming.. ..

    In.
    A laptop, internet connection and beer.

  4. #4
    Senior Member
    Join Date
    Mar 2004
    Posts
    557
    Hi

    There are a lot of good tutorials available on the net.
    However, I cannot give you a link, since during the
    years I looked for specific information, and stumpled
    across fine writings. And since the time passed by, the
    memory faded away. Who was that, Prof.Dr.Dr.Ebbinghaus?

    Anyway, I can recommend two books by Deitel and Deitel.
    C[1] and C++[2].

    Of course, there are many quite nice books, but Deitel and Deitel
    give you additional hints, if you are interested in side-areas, like
    optimising code, software engineering and thelike.

    Good luck.

    [1] http://www.amazon.com/exec/obidos/tg...glance&s=books
    [2] http://www.amazon.com/exec/obidos/tg...glance&s=books

    /edit: They also have CBTs (computer based trainings), if I remember correctly.
    Depending on the company you work for, they might buy it for you.
    If the only tool you have is a hammer, you tend to see every problem as a nail.
    (Abraham Maslow, Psychologist, 1908-70)

  5. #5
    Webius Designerous Indiginous
    Join Date
    Mar 2002
    Location
    South Florida
    Posts
    1,121
    Well, if you are just beginning in the C programming world, I would suggest that you skip C and go to C++. C++ has a more object oriented approach to programming and will not limit you as much as C may do in the future.

    As for a book I would highly reccomend

    "Problem Solving with C++: The Object of Programming" 5th Edition by Walter Savitch

    ISBN: 0-321-26865-2

    It really puts the c++ language into perspective in an easy to use reading layout.

    xmaddness
    Planet Maddness Industries
    http://www.planetmaddness.com

  6. #6
    Elite Hacker
    Join Date
    Mar 2003
    Posts
    1,407
    Here are the lecture notes for my C class http://www.cs.utsa.edu/~mmaltrud/CS2...res/index.html
    We don't really use a book so all our info is from those lectures.
    http://www.cs.utsa.edu/~mmaltrud/CS2213/ is the main page. If you are interested in trying the assignments, I can get you the base code which he has us copy from a directory you can only access if you have an account. Just pm me if interested in the assignments.

  7. #7
    Senior Member
    Join Date
    Sep 2001
    Posts
    534
    hi all ,
    i think jin has just started with C and everybody is giving him tips for C++ hehehe
    if he got scared of C++ he will never ever come near to C also hehhee.

    just kidding.

    In.
    A laptop, internet connection and beer.

  8. #8
    Senior Member
    Join Date
    Jun 2004
    Posts
    137
    thanks guys
    for the tips
    im really trying my best in this...

    Pray For Me so I'll be a good programmer someday!!!
    Thanks guys
    God Bless You all!!

  9. #9
    Senior Member
    Join Date
    Jun 2004
    Posts
    137
    OHH I ALMOST FORGOT
    I ALREADY PURCHASED A VISUAL C COMPILER AND BORLAND C COMPILER
    ILL TRY THIS TWO GUYS.
    IM GONNA TRY WHAT'S THE DIFFERENCE OF THE TWO..
    THANKS GUYS ....

  10. #10
    Banned
    Join Date
    Aug 2004
    Posts
    19
    Hi
    The difference between them is that the visual compiler lets u create windows based applications easily while the borland compiler creates dos based applications.
    A very good book " Let Us C " by an indian author Yashwant Kanitkar can be helpful or any basic C title by famous author Robert Lafore is good for a start.

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •