Learn C: What are the resources available on the web to learn C?

This entry is part 3 of 7 in the series Learn C

There is actually quite a lot of resources available online that you can tap into.

Here, there are these few links that I have found:

  1. Tutorials Point – with good introduction
  2. How Stuff Work – a bit surprised to find C stuff here
  3. C Programming
  4. Programming Simplified – quite a lot of examples that you can try
  5. C Tutorial – created more for students majoring in Physics
  6. C4Learn – this site has some very good and short examples that you can try out
  7. GNU C – a programming tutorial

If you have come across any good C introduction on the web, please share the link.

Learn C: Setting up the environment

This entry is part 1 of 7 in the series Learn C

Let’s start with the C language first.

The first thing is to get your computer set up so that you have a compiler to compile C.

This post will use the GNU C and if you prefer, you can set up the Visual Studio shown in a later post.

GNU (Geez, Not Unix) C compiler can be downloaded from http://mingw.com.  Visit the website and download the MinGW installation manager.


From the installation manager download gcc-core, gcc-g++, binutils, and the MinGW runtime. Next set the path of the windows to the bin directory of MinGW.

Now that you have the environment set up, you can write your first C program.


To C or to C++ first?

That indeed is the first question that you should ask if you are very new to programming. While it makes sense to jump straight to C++, I recommend that you start with C first.

This is not to immediately master C programming but to get the basic correct in programming.

If you start first from C, you could learn variables and learn how to construct a function. If you first start with C++, you will have to dive in to learning creating Objects, constructing classes etc.

This is a lot more difficult if you have not learnt other programming languages such as PASCAL.

After learning C, it is much more easier to move to learning Javascript and PHP as both languages have syntax and structure very similar to C.

First web programming language to learn

If you are in school, the first programming language that you will learn is likely to be Pascal or C.

I think this is the right sequence to learn programming.  C and Pascal are non Object Oriented and they provide a great platform for you to get yourself introduced to syntax, function, and variables.