PDA

View Full Version : Learning C



Liliitha
January 6th, 2009, 03:46 AM
Is there a good website or e-book with the basics on C and some tutorials?

Sockerdrickan
January 6th, 2009, 04:01 AM
http://cprogramming.com/

efexD
January 6th, 2009, 05:02 AM
Doesn't really teach good practice but.

Learn C in 24 hours.

Sockerdrickan
January 6th, 2009, 11:18 AM
Stay away froom books that ends with days, hours

hanniph
January 6th, 2009, 12:08 PM
http://ubuntuforums.org/showthread.php?t=661754&page=2

+1 for The C programming language, 2nd edition

Kilon
January 6th, 2009, 12:11 PM
Doesn't really teach good practice but.

Learn C in 24 hours.


I have the same one for C++ and VB. I think the "24 hours" is not misleading at all. Obviously however none will learn adequately C++ in 24 hours. However each chapter of the 24 can be finished in a Hour.

These book wont give a deep insight inside C++ but they can be very useful as a quick reference.

Generally a safe bet for a beginner is "For Dummies" series, i have bought Dummies books for Java .Windows Game Progrmming (DirectX), Astronomy et. They are alway fun to read and are clearly targeting the beginners. Their content contain alot of funny jokes, simplified knowledge and are very easy to read and make sense.

So I will recommend this.

http://ecx.images-amazon.com/images/I/5137HEE2ZYL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA240_SH20_OU01_.jpg

http://www.amazon.com/C-Dummies-2nd-Dan-Gookin/dp/0764570684/ref=sr_1_1?ie=UTF8&s=books&qid=1231240092&sr=1-1

leg
January 6th, 2009, 01:45 PM
Stay away froom books that ends with days, hoursI would add dummies and head first to that list.


Gnu libc manual (http://www.gnu.org/software/libtool/manual/libc/index.html#Top)
c lib reference (http://www.acm.uiuc.edu/webmonkeys/book/c_guide/index.html)
C tut (k&r) (http://www.iu.hio.no/~mark/CTutorial/CTutorial.html)

nvteighen
January 6th, 2009, 04:05 PM
The GNU C Programming Tutorial: http://crasseux.com/books/ctutorial/

(It's an updated version of the last one leg posted above)

CLomax
January 6th, 2009, 07:07 PM
I found 'C For Dummies' very useful.

pmasiar
January 6th, 2009, 08:34 PM
I would add dummies and head first to that list.

I always had a problem with people who deride "X for dummies" series -- because I found it rather decent (even if simple) and good for start. Possibly those are people without deep skil, unsecure in knowledge, so rejecting "for dummies" label. I (with 20+ years of experience) have no problem to reach for "for dummies" book for first pass at the subject - or better I had, but these days, "head first" is may first choice of into book into any area, those books are simple **excellent**. Nothing comparable is on the market.

So be afraid of people deriding "for dummies" books - they likely don't know much to give good advice :-)

efexD
January 7th, 2009, 03:02 AM
I always had a problem with people who deride "X for dummies" series -- because I found it rather decent (even if simple) and good for start. Possibly those are people without deep skil, unsecure in knowledge, so rejecting "for dummies" label. I (with 20+ years of experience) have no problem to reach for "for dummies" book for first pass at the subject - or better I had, but these days, "head first" is may first choice of into book into any area, those books are simple **excellent**. Nothing comparable is on the market.

So be afraid of people deriding "for dummies" books - they likely don't know much to give good advice :-)

Yeah agreed. I usually only use the books for reference.

leg
January 7th, 2009, 05:00 PM
The GNU C Programming Tutorial: http://crasseux.com/books/ctutorial/

(It's an updated version of the last one leg posted above)
Excellent thats useful.

leg
January 7th, 2009, 05:03 PM
I always had a problem with people who deride "X for dummies" series -- because I found it rather decent (even if simple) and good for start. Possibly those are people without deep skil, unsecure in knowledge, so rejecting "for dummies" label. I (with 20+ years of experience) have no problem to reach for "for dummies" book for first pass at the subject - or better I had, but these days, "head first" is may first choice of into book into any area, those books are simple **excellent**. Nothing comparable is on the market.

So be afraid of people deriding "for dummies" books - they likely don't know much to give good advice :-)
Horses for courses I suppose I just have never liked them.

smurfgod
January 7th, 2009, 06:50 PM
i was wandering about c...i mean...can i program for linux???what programs do i need.im sorry for posting it in here but its a c post and they kinda go together.

thanks smurf :D

ooobooontooo
January 8th, 2009, 08:01 AM
I have a sort of similar not really sort of question. I've gained my knowledge in C through a lot of different books and I know the programming basics because C is not my first language. I now know most of C's functions and it's special syntaxes. What I'm really weak on is good programming practice specifically for C. So, I was wondering if I should read tutorials or just look at a lot of code. Any words of wisdom?

@smurfgod
I'm going to assume you had your question answered through the thread you created.

Kilon
January 8th, 2009, 08:36 AM
I have a sort of similar not really sort of question. I've gained my knowledge in C through a lot of different books and I know the programming basics because C is not my first language. I now know most of C's functions and it's special syntaxes. What I'm really weak on is good programming practice specifically for C. So, I was wondering if I should read tutorials or just look at a lot of code. Any words of wisdom?

@smurfgod
I'm going to assume you had your question answered through the thread you created.

Actually a tutorial will be a safer bet. But important thing to remember is not just to read a tutorial, write and test the code as well. Practice is the most important thing and of course learning from your mistakes. For your brain is easier to learn from practice. Make your own code, do your own tests and things will become much easier.

When you become comfortable with the language then you can start reading source code. Again do you own test. Copy and paste the code, execute it , change it and execute it again. Very important.

ooobooontooo
January 11th, 2009, 03:52 AM
Thanks. I'll try reading C tutorial guides.Thread

jpkotta
January 11th, 2009, 06:32 AM
K&R (http://en.wikipedia.org/wiki/The_C_Programming_Language_(book)) is the best I've found. I don't think it was ever updated for C99 though.

I use this quite a bit: http://c-faq.com/