Handmade Hero » Forums » Code » Learning C, Again
gingerBill
Ginger Bill
219 posts
2 projects

I am ginger thus have no soul.

#5982 Learning C, Again
2 years, 3 months ago Edited by Ginger Bill on Feb. 27, 2016, 8:30 p.m.

:P

My main concern with LCTHW is not the C code per se (except in some cases where he is incorrect or overly opinionated) but the teaching style. That's what I do not like. LCTHW isn't just hard for beginner but plain esoteric. Valgrind for a beginner?!?! Use "must" use Mac or Linux?!?!

Personally, I have been going through a few thoughts about what I need from C and a language in general. At the moment, I've been sticking to C in my personal projects and to make up for the lack of features C has, I have just metaprogrammed them in.

I want to thank you Casey for making me realise that I can just create a meta programming tool! The tool at the moment can do introspection, structure generation, enum name to string, and polymorphic functions. And that all works in plain old C99! I think I might go one step further and just have an intermediate code replacement step for adding features such as defer and local functions.
MrPhil
Mr. Phil
12 posts
1 project
(tbd)
#6027 Learning C, Again
2 years, 3 months ago

mmisu
@MrPhil

You can buy C Programming a modern approach by King at half a price from abebooks.com. Pretty sure you can get it at an even better price if you do some research. Also, if you know a student at a decent Uni you may ask him to borrow the book for you if you just want to have a look.

Thanks for the tip!
den_v
Den V
19 posts

None

#6036 Learning C, Again
2 years, 3 months ago

I highly recommend "C Programming: A Modern Approach". As someone pointed out, it is used in schools as textbook, but when I took Programming in C class at a university sometime around 2005'ish, we used the first edition of the book and it's pretty cheap on Amazon.

The book is well written, explanations are good, and if I remember correctly, the author has very detailed Q&A discussions for each topic.

do {
iLookAtMyCode();
andSeeItNeedsDebugging();
} while(myGuitar.weep(WeepType.GENTLY);
MrPhil
Mr. Phil
12 posts
1 project
(tbd)
#6048 Learning C, Again
2 years, 3 months ago

den_v
I highly recommend "C Programming: A Modern Approach". As someone pointed out, it is used in schools as textbook, but when I took Programming in C class at a university sometime around 2005'ish, we used the first edition of the book and it's pretty cheap on Amazon.

The book is well written, explanations are good, and if I remember correctly, the author has very detailed Q&A discussions for each topic.

I ended up getting the book, I prefer physical things, easier for me to remember where things are down the road when I want to look up something.