Quick C course

Location
  1. Courses

    /

  2. Quick C course

    /

  3. About this course

About this course

Unlike the Complete C/C++ course, the Quick C course is meant to get you started simply and quickly. It goes, however, in less depth and omits some non-crucial aspects of the language. If you wish to master the C and C++ languages, we recommend you to follow, after this course, the complete course, by clicking here.

What is a programming language

To better understand what is a programming language, you may read that page of the complete C/C++ course.

Why the language C?

The C language is a well-known and very versatile programming language that produces very efficient programs. It also provides a great amount of control to the programmer: The code written is very close to what is actually executed by the processor of the computer.

C vs C++

The C++ language can be seen as an extension to the C language. It has everything that C has, but with additional features. After this course, you may follow the Quick C++ course to learn to code in C++.

Introduction to coding

If you wish, you may, before starting this course, have a look at the introduction to coding in C++ by coding a small video game, here.

The tools needed

To follow this course, you will need an IDE. An IDE is a software that provides the tools required for programming: A compiler to transform the code into executable files, a code editor with syntax highlighting, a view of the files of the project... You may find instructions for installing and using an IDE depending on your operating system here.

A minimal code

Here is a minimal C code that does nothing:

main.c

1
2
3
4
int main() { return 0; }

Note that the execution of a program happens inside the braces from above. Therefore, the only instruction here is 'return 0;'. That instruction must always be the last instruction as it tells the operating system that the program ended successfully.

For now, just copy/paste that code into the code editor your IDE.

Let us start

We are now ready to start learning to code in C! Lets us go to the next page.