COMP1115

 Computer Programming II

 

 

Lecture Notes

 

Class Presentation Files are at the bottom of the page     

 

Introduction to C++

Review of control structures

Functions

Multi-dimensional arrays

Characters and string manipulation

Pointers

Struct, Enum and Union

File processing

Recursion

Random Numbers Generator

Inline functions, Function overloading, Template functions

Classes

Introduction to OOP and Abstract data types 

 

 

Lecture Presentation Files

Lecture Set 1 – Introduction to C++ with Review of Control Structures

Lecture Set 2 - Functions

Lecture Set 3 - Arrays

Lecture Set 4 - Pointers and Strings

Lecture Set 5 - Struct, Enum and Union

Lecture Set 6 - File processing

Lecture Set 7 – Recursion

Lecture Set 8 – Random Numbers Generator

Lecture Set 9 – Inline functions, Function overloading, Template functions

Lecture Set 10 – Classes and Data Abstraction