Lecture 1 - Page 15 : 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
Arrays and Pointers: Examples
Some programs that illustrate arrays and pointers in C
C Program with an array.
A similar C program with pointers - one dimensional.
C Program with two a dimensional array.
A similar C program with pointers - two dimiensional.
Illustration of array limitations in C: Cannot assign.
A solution: Copy the array in a for loop.
Illustration of array limitations in C: Cannot pass as value parameter.
Less confusing version that uses pointers.
Output from both of the two programs above.
C Time functions from time.h