Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Great C tutorial? [closed]

I really want to learn C. What would be a good tutorial?

like image 504
Kredns Avatar asked Apr 20 '09 15:04

Kredns


People also ask

Can I learn C from YouTube?

Here are some YouTube Channels one can follow to learn C and C++ programming languages. TheNewBoston is one of the most popular YouTube Channels for tutorials for programming and other computer-related topics. With nearly 22 lakh subscribers, it offers hundreds of videos to learn C and C++, covering many concepts.

Is C hard to learn?

C is more difficult to learn than JavaScript, but it's a valuable skill to have because most programming languages are actually implemented in C. This is because C is a “machine-level” language. So learning it will teach you how a computer works and will actually make learning new languages in the future easier.


2 Answers

The C Programming Language (often referred to as "K & R") is almost universally considered to be the best resource for learning C.

like image 136
Chad Birch Avatar answered Oct 07 '22 16:10

Chad Birch


While "The C Programming Language" is certainly a great book and a very good introduction to the C language, it has several drawbacks:

  • It is somewhat dated, the 2nd edition (the last one) covers only C89 which is now 20 years old. While C99 (the current Standard) isn't universally supported, there are a number of features from it that are supported by many implementations and exposure to them is useful.
  • It isn't comprehensive. It doesn't cover many of the standard library functions in any detail and certain intricacies are not explored in depth.
  • The text assumes you are already an experienced programmer and has a very terse style which doesn't work well for everyone.

If you are looking for a more beginner-friendly, comprehensive, or up-to-date book, I would strongly recommend C Programming: A Modern Approach, 2nd Ed. It covers every aspect of the language and the standard library in depth, including C99, and is extremely well-written. While the list price is rather high, it usually isn't difficult to find a copy for around $60 USD.

like image 35
Robert Gamble Avatar answered Oct 07 '22 16:10

Robert Gamble