Lecture 1 - Page 26 : 29
Notes about C++
From C to C++
* Course Introduction
Overview of Advanced Programming - Part One
Overview of Advanced Programming - Part Two
Recommended use of your time
Course Approach - Part 1
Course Exam
Which compiler or IDE?
* A quick tour of C
Basic Observations
The Evolution of C
The Popularity of C and C++
The C preprocessor
Fundamental types
Arrays and Pointers
Arrays and Pointers: Examples
Structures and Unions
Structures: Examples
Function types
User defined types
Expressions and operators
Control structures
Functions and parameters
Call-by-reference parameters via pointers
C Program organization
Memory Allocation
The standard library
* C/C++ Compatibility
C/C++ Compatibility
C/C++ Compatibility - some small details
The standard library
C comes with a
relatively
small standard library
IO is dealt with by
<stdio.h>
printf
and
scanf
FILE
and file functions
Standard lib
<stdlib.h>
Conversion functions, random number functions, ...
malloc
,
calloc
,
free
String functions
<string.h>
strlen
,
strcpy
, ...
Character class test
<ctype.h>
isalpha
,
isdigit
, ...
Mathematical functions
<math.h>
Constants for upper and lower limits - integer types
<limits.h>
Constants for upper and lower limits - floating point types
<float.h>
Date and time functions
<time.h>
Variable argument lists
<stdarg.h>
And more:
<assert.h>
,
<ctype.h>
,
<errno.h>
,
<locale.h>
,
<setjmp.h>
,
<signal.h>
, and
<stddef.h>
.