Great tutorial C?

I really want to learn C (I plan to join the open source GNOME project). What would be a good tutorial?

+4
source share
10 answers

The C programming language (often called "K and R") is almost universally considered the best resource for learning C.

+30
source

Although C is a great book and a very good introduction to C, it has several drawbacks:

  • This is somewhat dated, the second edition (latest) covers only the C89, which is now 20 years old. Although C99 (current standard) is not universally supported, there are a number of functions supported by many implementations, and the impact on them is useful.
  • It is not exhaustive. It does not cover many standard library functions in detail, and some subtleties are not studied in depth.
  • The text assumes that you are already an experienced programmer and has a very subtle style that is not suitable for everyone.

If you're looking for a more beginner-friendly, comprehensive, or up-to-date book, I highly recommend C Programming: A Modern Approach, 2nd Ed . It covers all aspects of the language and the standard library in depth, including the C99, and is very well written. Although the price on the list is pretty high, it’s usually easy to find a copy for around $ 60.

+5
source

Official GNOME Developer Guide: http://oreilly.com/catalog/9781593270308/

+4
source

The tutorials may be semi-useful at first, but I always learned the language, actually developing useful code.

I would recommend you check out some of the Gnome Love Projects . They are generally smaller tasks for people who are interested in joining the gnome developer community. They will help you get used to the development environment, as well as provide the fixes and style and conventions that they use. Most of you will teach you that you did not know about C either.

+3
source

You can refer to Computer Programming Notes designed to complement K & R.

+1
source

This is more of a faq than a tutorial, but it is quite useful: C - faq .

Regarding Gnome Programming: Gnome Guides

And here are some tools a C programmer needs:

0
source

Always avoid textbooks (written by children, for children) Reading KR

0
source

I would suggest you take a close look at Bruce Eckel, freely available " Thinking in C ", which is a flash-based introduction to the C Programming Language Family:

A Flash-based audio-visual seminar that introduces you to the basics of C, which will help you upgrade to C, such as C ++, Java, and C #.

0
source

All Articles