The C Programming Language

Lectured by: Jan Pechanec, Vladimír Kotal

Summer semester 2019

Malá Strana, Tue 9:00, room SU2.

First lecture: Feb 19


"Since C is relatively small, it can be described in a small space, and learned quickly. A programmer can reasonable expect to know and understand and indeed regularly use the entire language."

-- Brian W. Kernighan, Dennis M. Ritchie

The seminar is lectured in English. It is a recommended pre-requisite for Unix/Linux Programming in C (NSWI015).

The original poster.


The hands-on seminar is meant to teach students how to program in C. It is targeting people who have no prior experience with the language. The seminar is not an introductory programming class. It assumes some familiarity with basic programming concepts like variables, assignment statements, loops, and functions. C standards C90 and C99 will be covered. Strong emphasis will be put on writing real C programs taking advantage of all the language features discussed.

Target Group

This seminar is primarily targeting people who have no prior experience with the C language. However, anybody is welcome, especially after the first elementary lectures.

Development Environment

There is Eduroam WiFi available in the SU2 lab.

Mailing List

Subscribe here to c-prog-lang-l email conference hosted on

We will use this alias for various announcements regarding the seminar. It is your responsibility to subscribe to it. And feel free to use it for technical discussion regarding the C language and what we do in the seminar.


Getting credits

To get credits, you need to complete a given assignment in C as a home project.

You are supposed to write the code by yourself. Using existing code is prohibited.

The assignment has two phases. First has a deadline of Sun Jun 9 23:59:59, the 2nd has a deadline of Sun Jul 14 23:59:59. Please note that the deadlines are hard and failing them means you cannot get credits for this year.

Assignment phase 1. FYI, our implementation of the 1st phase is about 400 lines of code that conforms to the recommended C style.

Assignment phase 2.

Notes from the classes

Notes from the previous year. First few classes will be similar to the current year, then we might diverge a bit.

C style for writing code

We strongly encourage you to use a good C style to follow when writing C code. It comes with a Perl script to check your style. We just cannot stress enough the importance of readable code with a unified look.

There are other indent styles to choose from.


Last modified: