C Annotations Version
Frank B Brokken
and Karel Kubat until version
Computing Center University of Groningen
Landleven
PO Box
AV Groningen
The Netherlands
Published at the University of Groningen
ISBN
Abstract
This document is intended for knowledgeable users of C who would like to make the transition
to C
It is a guide for Franks C programming courses which are given yearly at the
University of Groningen As such this document is not a complete C handbook Rather it
serves as an addition to other documentation sources
If you want a hardcopy version of the C annotations thats available in postscript and other
formats in our ftpsite in several les starting with cplusplus
Contents
Overview of the chapters
Introduction
History of the C Annotations □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Whats new in the C Annotations □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
The history of C
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Compiling a C program by a C compiler □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Compiling a C program
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Advantages and pretensions of C
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
What is ObjectOriented Programming □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Dierences between C and C
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Endofline comment □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
NULLpointers vs pointers □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
Strict type checking
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
A new syntax for casts □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
The static castoperator
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □
The const castoperator
□ □ □ □ □ □ □ □