C Programming
Version: 1.0.16
Date: 21st February 2008
Note:
Many pages on the web claiming to be about C seem to contain a lot of material about C++ also. I intend to keep this page focused on C related material. If I come across a site that has some decent C material but bundles it with C++ material, I will only list the site here if the C material is particularly good.
My Content
Learn By Example
- The Basics - My attempt to help people learn C by showing them examples of working C code (it's work in progress).
- Timing Your Code - Learn how to get C to help you time how long it takes for your code to complete.
Other Content On The Web
Reference
- C Programming Reference - Wonderful reference by Martin Leslie.
Tutorials
- University of Leicester's C Tutorial - Brilliant tutorial for those just starting to learn C.
- Programming in C - Unix System Calls and Subroutines using C - Very good tutorial by Dave Marshall, covering Unix programming using the C language. Note: This tutorial is fairly advanced.
- University of Strathclyde's C Programming Tutorial - Looks like a good tutorial to learn from.
- The GNU C Programming Tutorial - hosted by an associate member of the Free Sofware Foundation.
- Eddie's Basic Guide To C Programming - Short tutorials broken down into clear categories (Strings, Pointers, Files, etc.)
Coding Standards
- GNU Coding Standards - As you are probably aware, the GNU project uses C for the majority of their coding work. Here are the coding standards they try to adhere to. A fair amount of this article relates to the GNU standards for writing C code.
FAQs
- Steve Summit's FAQ from the comp.lang.c Usenet - Very good resource.
Forums
Here is a list of recommended forum sites that have at least one of their message boards dedicated entirely to C.
- Programming Forums - Very good forum site for programmers.
- Message boards at C Programming.com - This site has a very well established message board for C programmers.
Other Articles / Resources
- Wikipedia's article on C Programming - See what Wikipedia has to say about the C programming language.
- Rob Pike's Notes On Programming In C - This article contains clear and concise advice for programming in C -- well worth reading.
- Object Oriented Programming in C - Article describing how you can use ANSI C to obtain the benefits / features of the object oriented paradigm. I haven't tried using the concepts presented in this article yet, but I thought that it was interesting and deserving or being on my list of C resources.
- Landon Curt Noll's C Programming Page.
Compilers
NOTE: I am only interested in lisitng freeware compilers here.
- Pelles C - Freeware C compiler (complete with IDE) for windows programming. Pelles C is even free for developing commercial software.
Libraries
- Cheap Threads - Portable Multitasking In C - Open source library for including cooperative multitasking with prioritized scheduling in your C programs. This library allows you to create threads that can communicate with each other via messages. This library may be used freely for both private or commercial use.
- The Expat XML Parser - Brilliant C library for all your XML parsing needs.
- The GD Graphics Library - Open source library for creating images from your C programs.
- The Standard Function Library by iMatix - Cross-platform library providing a lot of useful functions covering areas like date handling, file and directory handling, socket access, string searching, linked list management and more. Check it out. This library may be used freely for both private or commercial use.
Recommended Reading
- The C Programming Language, 2nd Edition
- The C Programming bible. Written by the famous Brian Kernighan and Dennis Ritchie.
- Practical C, 3rd Edition
- The book I used to learn C. I believe there were a couple of errors in the code examples, but still, this book is well written and a very good place to start learning C.
- The Pragmatic Programmer
- I highly recommend this book. In my opinion, this book should be a must read for anyone interested in excelling at the art of computer programming. Just take a look at the reviews it got on Amazon.com
.
