C programming textbook

C programming textbook
0.0 0


What would be the best textbook to learn C programming comprehensively???. Not looking for a dry tome full of technical references. Something modern and interactive would do.


I like the Dietel and Dietel books. The newest edition is always hella expensive because it’s a textbook, but it’s not like C is changing, so grab an older edition for less than $20.


I would like to suggest you some best books and authors to learn C++ for beginners:
1.The C Programming Language is written by Brian W. Kernighan and Dennis M. Ritchie.
2.C: The Complete Reference is written by Herbert Schildt.


C++ is an almost entirely different language from C. In fact C++ gets a lot easier to use if you dump the C part and use the modern constructs that C++ provide.
Like using
(for auto& x: tmp) {

} instead of for(int i=0; i< tmp.length; i++) { … }


I have no idea why this is being discussed in a site dedicated to web development.
If you intend to study C hoping to get better at Javascript, that’s a bad idea.
I did a lot of C programming in the past, then it took me years to transition to object orientation, inheritance, closures, lambdas, generics, etc
If this is a diploma requirement, I’d suggest you study just enough to pass the tests, then move on (unless you aim to become a kernel-mode/systems programmer, but that’s totally off-topic for this medium)


Have you looked at Head First C?


It is for a diploma. And it’s not exactly off topic the header for the forum says ask anything. I just needed help from my fellow campers


Head First C is my recommendation, try before you buy though. Not all people appreciate the tone in those series of books.


We’re a pretty diverse group here, and there are several forum members who have experience in a variety of programming languages.


This post was flagged by the community and is temporarily hidden.


Did someone say C?

C is king dear, yes it’s master of all programming langs.

I personally learnt C myself, becasue it’s really easy. The only part may hold you for a while is the memory management and pointers, but they’re really easy subjects.

Hopefully C still has its great low-level personality since it was produced by legendary Dennis Ritchie, there are ISOs(latest the C11, or CX1), but I believe many C devs still code in ANSI C

Remember C, is more like system language, while you literally could do anything with it, with C you have embedded systems, windows machine, *nixes(linux, mac ,anu nix), iOS, Android, … everything! But in each field, there are more better solutions out there(example, while we can do backend server using CGI, Swift could do the same job much easier)

C will make you a hard serious developer dear, once you get, you won’t out.

Keep going on great work, happy programming