Thread: newbie | k&r book

  1. #1
    Registered User xion's Avatar
    Join Date
    Jul 2003
    Posts
    63

    newbie | k&r book

    i just bought k&r book 2 weeks ago and im having trouble understanding the logic since im a newbie to C programming.

    the first chapter goes pretty fast and is hard to understand as a beginner.

    my question is. should i read on to get more of an understanding of the language in whole, rather than stay on chapter 1 exercises struggling to understand the logic in the programs, or stay where i am in trying to learn before going on?

    i feel that my posting basic problems in this forum takes attention away from people with real complex problems in C.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Just run through the forum rules and post accordingly. If you dont' understand, for example, how an int works, post your attempt at the code, any errors you get, and your specific questions.

    Use code tags when posting code, and most won't have any problems giving you a hand.

    Reading the FAQ might be a good idea also.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    102
    If you feel that you dont understand what its saying the I would recomend that you go back though it. Also I found that the exceriszes are very good at helping understand K&R are talking about. I think that the K&R is kind of designed for people who have a but of programming already, be it in C or not.

    Another book that I found good while I was learning C was C By Example

  4. #4
    Registered User
    Join Date
    Jun 2003
    Posts
    124
    Wait!!
    Please don't! If you haven't started C and you haven't dived into deep C matters yet, just stay there and don't go on! It's gonna be a painful experience the learning of C! Trust me. It's not late to start a new language, before you repent it!
    Loading.....
    ( Trying to be a good C Programmer )

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    60

    K and R

    Hi, I think that K and R holds the most wisdom of any book, but

    gleening that wisdom takes a little wisdom. I would advise, as a

    fellow newbie, playing around with simple stuff that you think of.

    Think of some easy problems like conversion programs and ways

    of stroring data. When you feel comfortable, read K and R from

    the beginning. There is not one word in that book that you can

    skim over... Try really hard on the exercises! They are great at

    building you up into a comfortable working zone.

    K and R is not for first timers, but it's the only book if you really

    want the best, timelesss advice on programming. After all, the

    blokes who wrote it ,invented C!!!

    Good luck!
    "It compiled, let's ship it!"

    Guitar Australia
    my site for some easy tutorials.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ascii backspace, K&R book exercises
    By jjohhn in forum C Programming
    Replies: 10
    Last Post: 12-29-2005, 08:33 AM
  2. Book for Newbie trying to learn C
    By uthscsa19 in forum C Programming
    Replies: 23
    Last Post: 12-24-2005, 11:02 AM
  3. getchar() problem from K&R book
    By anemicrose in forum C Programming
    Replies: 13
    Last Post: 04-04-2004, 11:06 PM
  4. Newbie - MFC code from a book in VC++.Net
    By Guardian in forum Windows Programming
    Replies: 2
    Last Post: 04-27-2002, 07:17 PM
  5. newbie with an old book
    By Joseph in forum C Programming
    Replies: 13
    Last Post: 08-28-2001, 05:06 PM