Programming I: Intro to C++ (for CS-Majors)
Code examples from the textbook (Gaddis)
Lecture Notes and Outlines
Introduction to C++ and Programming
C++ Basics (Part 1)
C++ Basics (Part 2)
Control Structures - Intro, Selection
Control Structures - Repetition
Stepwise Refinement (in-class example)
Functions
Functions
Functions: Overloading and Default Parameters
Pass By Reference
Random Number Generation
(some library functions)
The I/O Stream Libraries
Formatting Output Streams
Basic File I/O and Stream Objects
I/O Streams -- Other Features
Array Basics
Arrays and Functions
String I/O and
cstring
library
String objects library
Pointer Basics
Pointers: Pass by Address, Pointers and Arrays
Pointers: Dynamic Memory Allocation
Structures Part 1: Intro
Structures Part 2: More about structs
Enumerations
C topics
Input/Output in C (with
stdio.h
)
C vs. C++
Review Materials
Review List of topics covered (for Test 1)
Test format and some practice coding problems to try
Review List of topics covered (since Midterm)
C-string practice exercises (an assignment from a previous term)