Lecture 1 - Page 23 : 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
Call-by-reference parameters via pointers
A
call-by-reference parameter
in C is a pointer passed as a
call-by-value parameter
Motivation
Output parameters
Input parameters: Avoid copying large data structures
Examples
The struct functions discussed earlier
Structs and functions
A C program with a swap function.
C++ offers a
reference type
that establishes an alias to an existing location in memory