Thread: How did you learn C programming?

  1. #1
    Registered User Utopus's Avatar
    Join Date
    Jun 2007
    Location
    beautiful place
    Posts
    26

    How did you learn C programming?

    My question is, "Is it necessary that one go to school to learn C?"

    What are some, or if there is any, requirements to be an expert programmer? Is it just how much effort one put into it..?

    I'm asking this because I havn't got any schooling on this matter and I'm now trying to study it on my days off from my work.

    So I'd like to get a response from individuals of this site about how they got to this point. Perhaps, a brief history of yourself would be nice.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    I learned C and C++ just from books, never in school.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User Utopus's Avatar
    Join Date
    Jun 2007
    Location
    beautiful place
    Posts
    26
    >I learned C and C++ just from books, never in school.

    But did you go to school that teachs you about computer?

  4. #4
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I learned C by reading a C++ book, and really picking up the pieces

  5. #5
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    I was taught C in a class, everything I know about C++ was self taught from books and forums like this one. You don't need to take a class, just a good book and a place (like this one) where you can ask questions when you get stuck.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  6. #6
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I learned from books, forums, online tuts, and lots of example code. And yes, you do have to put alot of effort into it, C(++) isn't easy to learn.

    >> But did you go to school that teachs you about computer?
    Basic computer operating is totally different than actuall programming, it wouldn't make much of a difference.

  7. #7
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Basic computer operating is totally different than actuall programming, it wouldn't make much of a difference.
    But CS course can give you some viewing of the programming that is hard to achieve just by studying examples... Programming is not just a code-writing, it is a little bit more there.
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    I learned C from books and experimentation.
    My best code is written with the delete key.

  9. #9
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by Utopus View Post
    But did you go to school that teachs you about computer?
    Not really. Everything we learned at school about computers I already knew.

    On the other hand, I later started studying CS, and I learned lots of new things there.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  10. #10
    Bios Raider biosninja's Avatar
    Join Date
    Jul 2002
    Location
    South Africa
    Posts
    765
    I learned C/C++ in my Computer Science course



    and no....you dont have to go to class to learn C/C++ just get a few books and start reading/coding
    The knack of flying is learning to throw yourself at the ground and miss.

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Well, I learned programming by reading the manual that came with my Commadore VIC-20. Later I taught myself assembly by reading the manual that came with the compiler for the VIC-20. Then when they taught us basic computer operation in 7th grade, I hacked the grades and gave my friends A's. They had a class in college for C/C++, but it was mainly targetted to the PLC-5, so I mostly learned everything I know about C/C++ from books, and practical experience. About the only CS I know is amdahl's equation, and that its only good as a rule of thumb measure. IMO the best people in any field tend to be self taught.

  12. #12
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I learned it from the internet, which is a really bad idea I might add. The internet suxx

  13. #13
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I learnt PHP from books and by helping people online. Later, I was taught C++ in junior college, but for it the first year it was basically a variant of C with cin and cout. They introduced classes and OOP in the second year with minimal coverage of C++ strings. I pretty much had to pick up more modern C++ myself from books and online messageboards.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  14. #14
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    The knowledge of C was downloaded directly into my brain when I interfaced with the Ancient Database on P4R-611. Along with that critical knowledge, I also received the information required to make the world's first buckwheat pancake.

  15. #15
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Really? I learnt C when I was stuck in a time loop because of P4X-639

    * has 96GB of Stargate on his PC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how long to learn c programming
    By cmay in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 05-13-2009, 12:55 AM
  2. Am I too late to learn programming?
    By maccat in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 02-17-2009, 08:49 AM
  3. Do you ever try to learn too much?
    By Stonehambey in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 06-17-2008, 07:55 AM
  4. Looking to learn C++
    By Fuzzy91 in forum C++ Programming
    Replies: 40
    Last Post: 04-13-2006, 02:38 AM
  5. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 10:33 AM