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.
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.
There is Eduroam WiFi available in the SU2 lab.
Subscribe here to c-prog-lang-l email conference hosted on mbox.ms.mff.cuni.cz.
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.
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.
The 2nd phase will add a few commands to actually modify the buffer (a, c, d, i, j, m, Q) and write it to a file (w). We will provide the specifics in mid April. We expect additional few hundred lines of code.
Notes from the previous year. First few classes will be similar to the current year, then we might diverge a bit.
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.