A304: C++

Instructor: D. Kevin McGrath

This course is designed to cover standard imperative and object oriented programming in C++. This will include designing custom data types, using custom data types and predefined objects.

The STL will be used extensively in this course, and will be a major point of discussion throughout the semester. While the STL is not a topic in and of itself until the end of the semester, that is more for advanced topics. The STL will be used in basic form throughout the semester.

Office Hours:

Helpful Links:


Schedule (Last updated: Monday, 11 September 2006)

This schedule will be revised throughout the semester, so check back frequently! Also, keep in mind that the schedule is also open to change. If we need to spend more time on a topic, we will.

Date Topic
Readings
Homework
Labs
Week 1

Tuesday
8/29

Introduction
Friday
9/1
UNIX, intro to g++
Read Chapter 1 in text

Intro to UNIX and g++

Week 2
Tuesday
9/5
I/O, math operators, program structure
Read sections 2.1-2.3
Assignment 1
Friday
9/9
Lab 2
Week 3
Tuesday
9/12
Control Structures and Flow of Control
Section 2.4-2.5, 3.1-3.3
Homework 2
Friday
9/16
Control Structures
Loops
Week 4
Tuesday
9/19
Functions and Scope
Read Sections 4.1 - 4.5
Friday
9/23
Functions
Functions
Week 5
Tuesday
9/26
Oops
Friday
9/29
Aggregate data typs and functions
Reformat labs 3,4 to given specs
Week 6
Tuesday
10/3
Void functions, vectors, pass-by-reference
Sections 5.1-5.4, 8.3
Questions to be posted as part of lab
Friday
10/8
Lab 5
Week 7
Tuesday 10/10 Strings, Vectors, and STL Intro
Friday
10/13
Review
Review
Week 8
Tuesday
10/17
Midterm
Friday
10/20
No Lab
Week 9
Tuesday
10/24
STL
Read Chapter 18 in the text
Friday
10/28
 
STL Lab
Week 10
Tuesday
10/31
More STL, File I/O, strings
Friday
11/3
 
Lab 8
Week 11
Tuesday
11/7
Getline, more on the STL, iterators
Friday
11/10
Concept Review
Review
Week 12
Tuesday
11/14
make
Linux Development Evironment Chapter 4: Make
Friday
11/18
 
Lab 10
Week 13
Tuesday
11/21
No Class - Thanksgiving Holidays
Friday
11/24
No Class - Thanksgiving Holidays
Week 14
Tuesday
11/28
Review
Friday
12/1
 
Word List
Final Lab, everyone should be there
Week 15
Tuesday
12/5
Exam
Friday
12/9
 
No Class