Click to See Complete Forum and Search --> : Where to go to learn C?


spotted zebra
06-17-2010, 11:56 AM
I want to learn C for various reasons and need a good place to learn. I was hoping there would be somewhere like w3schools to learn it but have not be able to find anything with google.

i am hoping with this being a coding forum someone will have some good resources for learning new languages such as this.

i already know some c++ and i know c is going to be quite an undertaking but i really want to learn it but don't want to take a class at school on it. i have found learning code on your own is much easier.

i would rather have a tutorial or 'class' type site like w3schools as opposed to a forum. i need to learn how to code before i learn how to apply the code.

thanks in advance for the help.

svidgen
06-17-2010, 02:58 PM
Arguably the best C book ever ... http://www.amazon.com/Programming-Language-2nd-Brian-Kernighan/dp/0131103628

http://en.wikipedia.org/wiki/The_C_Programming_Language_(book)

It's sort of the definitive C book ...

spotted zebra
06-17-2010, 03:05 PM
Do you have any online references?

svidgen
06-17-2010, 03:10 PM
I do not. Sorry ... As I understand it, its C++ is just C with addition of objects. You should actually be able to run a C app through a C++ compiler and get working code, I think. I'm years removed from either language tho -- and my experience was largely just classroom experience.

I really recommend the book though ... it's concise and thorough.

tracknut
06-17-2010, 03:36 PM
I wonder how many copies of K&R have sold over the years... millions probably. I remember when the second edition came out, debating whether to get it. Sort of like tossing your bible in the trash when the "new and improved" bible comes out. :)

Dave

svidgen
06-17-2010, 03:42 PM
lol! ... what happens to Jesus this time!?

tracknut
06-17-2010, 04:00 PM
lol! ... what happens to Jesus this time!?

It's really the same story, just updated for the times. Spandex body suit with a big "J" on his chest, good guys vs. bad guys, same old superpowers. It's a cliffhanger at the end so you need to buy the third edition, which is kind of a pain. :)

sohguanh
06-18-2010, 03:30 AM
It's really the same story, just updated for the times. Spandex body suit with a big "J" on his chest, good guys vs. bad guys, same old superpowers. It's a cliffhanger at the end so you need to buy the third edition, which is kind of a pain. :)

Besides the classic text from Brian and Kernighan, there is a classic text on C++ called C++ Primer by Stanley Lippman. It is a thick book but very comprehensive for those into C++ hardcore. Don't let the word Primer fool you as it has something in it.

Alas, nowadays most developers "talk" Java, .NET, PHP, Perl, Python etc but trust me behind all those interpreters or some low level OS coding, you cannot escape C!

I think Java JVM is written in C for each OS platform. Go figure ;)

spotted zebra
06-18-2010, 10:07 AM
i have only just started an it is very strict but i think that is were it gets it's power from that and the huge libraries it has. i mean it is only like one step from assembly maybe one day i will take a look at that too.

aguimo
06-18-2010, 01:28 PM
C Programming Tutorial: http://www.crasseux.com/books/
Assembly HOWTO: http://tldp.org/HOWTO/Assembly-HOWTO/

When I decide to learn C I would probably sign up for O'Reilly School's C programming classes. It makes it easier for me having to create a small program at the end of each lesson to be passed or denied by the teacher.

JunkMale
06-26-2010, 04:22 AM
And then when you think its all over....

Along comes the subject of "Pointers."

If you want to look up long distance learning or check out colleges that run beginner courses for programming in c, it may help you more to get just the basics under your belt.