Week 4

Home Windows C++ 241 C++ 242 Contact Info Contents

Week 4 - January 29

Back Up Next

Due Today

Chapter 7
Program #3

Preparation for Class

This class will be devoted to considerations in designing and implementing classes for use in your programs.
You should complete the design portion of program #3 in advance of class.
Because we are a little behind my original schedule, some time will be allowed for working on the programming portion in class, and the programs will be accepted through the weekend.

Topics Covered in this Class

Recursion Revisited
Tower of Hanoi Demo Program
Palindrome Assignment
Eight Queens Assignment
Programming Paradigms
Procedural
Modular
User-Defined Data Types ("Object-Based")
Object-Oriented
Generic
Object Concepts
Encapsulation
Polymorphism
Inheritance
Review of Class Basics (Ch 6)
Structures and structure members
Structure versus class imlementation
Class scope and data protection
Interface versus implementation
Access and Utility functions
Constructors and Destructors
Set and Get functions
Returning References to members
Assignment and the copy constructor
Practical Design Application - TicTacToe class
Review of student designs
Where does I/O belong in the design?
Finalizing the Class Design
Design of a TicTacToePlayer

Assignments

Chapter 8
Program  #4

Back Up Next

Home Windows C++ 241 C++ 242 Contact Info Contents

Copyright © 2000  Charlie Poole. All rights reserved.
Revised: July 15, 2002 - cpoole@ctc.edu