Lectures

Lecture slides and program examples

Lecture 1

Brief history of C language. Introduction to programing. The first program.

ezembed

Lecture 2

Selected data types.

Lecture 3

Variables, basic operations on variables. I/O operations, printf and scanf functions.

Lecture 4

Branching, if(), ?:, switch()

Lecture 5

Loops

Lectrure 6

Memory usage, addresses and pointers

Lecture 7

Static arrays, pointers, writing and reading files

Lecture 8

Working with files.

Lecture 9

2D static arrays, dynamic memory allocation, malloc, etc.

Lecture 10

Dynamic memory allocation for 2D arrays

Lecture 11

Strings

Lecture 12

Structures

-------------------------

Test examples and training problems:

application/pdf Test 1 example (154,82 kB, 8/01/2018 09:39)
application/pdf Test 2 example (118,78 kB, 8/01/2018 09:39)

-------------------------

Office hours: Wednesday 15:00 - 16:00