What's the best book for learning C?

What's the best book for learning C?

Other urls found in this thread:

lysator.liu.se/c/bwk-tutor.html
andreadrian.de/c-tutorial/index.html
twitter.com/NSFWRedditGif

my book

You just post it OP.

This one, hands down.

This. Very long for a non-reference book though

it takes special motivation to be passionate about programming

What's the best book to get motivated to learning C?

my diary desu

As someone learning C# as a first language, is it even worth reading books? Been mostly using online resources such as videos, courses and guides

best to avoid buying books until you absolutely need it for reference/study. most people buy a book, flip through it once at most, shelve it, and then it's outdated by the next time you look at it.

Im reading that book OP posted plus watching this guy on youtube called "Programming Paradigms (Stanford)" shits like eye opening man.

I used K&R and got there fine in like a week when I'd never programmed before.

K&R is the best. Anything else is just a meme.

Well I'd pirate it but it does seem like it'd be a colossal amount of filler to justify the price

I learned C from Kernghan's old text memo that was floating around on BBSs in the '80s. It became the first part of "The C Programming Language." Anyone could still find it. It's in ancient K&R C and you'd have to change some of the code to current standards. Aside from that, it's still probably 99% accurate at that level, and a nice, free, legal way to learn C. I can't imagine a better, clearer way to learn it than his book.

this was required for my class and its literally the shittiest textbook I have ever used, Ive basically has to teach myself everything

Here's the original version of it:
lysator.liu.se/c/bwk-tutor.html

And here's a version someone claims to have updated to ANSI C:
andreadrian.de/c-tutorial/index.html

where can I find a copy of it

Where can I get a list of new standards or modern C practices that aren't taught in K&R?
I heard "K&R C" was outdated and used weird conventions/style

see

This.

But it's really long. C is a small language.

and what would be the best book to learn C++?

I don't even know of any books that cover C++14 or C++17.

C++ Primer is a common recommendation, but that covers C++11.

This book is a bit tedious if you already have a bit of programming experience. K&R is better for that.

That one. Or read a bunch of code and write your own code. Some of the idioms in the book are outdated now as coding style has changed but for the most part it's good.

I am very new to C++ and programming in general, does it affect a lot if you learn an older version of the language over the most recent one?
thinking I could learn an outdated version and then add the new things the newer version has without major hassle, am I wrong?

K&R is short, sweet, and clear.

C is basically deprecated lad

this

I have a digital copy of the textbook used in my intro class if you want something free but still good
It's aimed towards total beginners but there's no harm in refreshing on the basics