C++ Programming
COP 2224

Instructor: Robert Mudge
Email: cppclass@ureach.com
Web Site: http://mudge.net
College Important Dates: Link
Course Grades: OnLine Testing Center/GradeBook
Office Hours: 30 minutes before class and Email
Classes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Final

Course Title Credit
Hours
Class Days Campus Building Room # Prefix
Section
Starts Ends
C++
Programming
3 Thurs West Mod 7 129 W001 6:00p 8:45p
Prerequisite: COP 2220. Access to a PC and a C++ compiler, preferably Visual C++,  outside of class time for the course project. Visual C++ is available on Both W002 and W003 Campus Labs (Lab fee).

Failure to sit for the Final exam will yield a WF per school policy.
Changing from grade to audit must occur before the withdraw deadline

            All homework shall consist of PRINTED source code and program output.
           Homework will be graded on correctness in style and content.

  1. All homework is due the following week, unless otherwise specified
  2. All homework questions are to be hand written or printed.
  3. All homework code assignments are to be printed with output
  4. All homework must have name, homework assignment number, campus location, date
    // John Smith
    // Homework 3
    // West Campus
    // 11/14/2004
  5. Late homework will NOT be scored unless excused by the instructor
     

lineeyes.gif (232 bytes)

Useful How To's

UML Quick Reference

Quick Reference

UML Tools - Free and Community Editions

lineeyes.gif (232 bytes)

Class
Description Homework
1
8/26/2004
Introduction to C++ 
Chapter 1 and Syllabus               
HW 1 - Compile and print out results: hello_ansi.cpp
Take On-line Quiz 1 (Test Center)
2
9/2/2004
No Class - College Closed Weather
3
9/9/2004

Programming By Specification
Chapter 2: Control Structures
Coin in class example

HW 2 - Problems 2.14, 2.25, 2.31, 2.39, 2.61
Take On-line Quiz 2 (Test Center)
4
9/16/2004
C++ Features and Functions
Chapter 3: Functions
Coin in class example with encapsulated methods

HW 3 - Problems 3.14, 3.15, 3.17, 3.18
Take On-line Quiz 3 (Test Center)

5
9/23/2004

Arrays and Structures      
Chapter 4
In class examples: Arrays Multi-Dimension Arrays

HW 4 - Problem 4.17. You must use programming by specification for the type dice. Class 2 may help you in constructing the dice object. Use the C++ code only. Turn in your source code and print out.
Take On-line Quiz 4 (Test Center)

6
9/30/2004
Pointers and Strings
Chapter 5
In Class Example: click here

HW 5 - Click Here Follow the comments in the "main" function. Turn in your code and printouts.
Take On-line Quiz 5 (Test Center)

7
10/7/2004
Midterm
 
8
10/14/2004
Classes Part 1             
Chapter 6

No home work
Take On-line Quiz 6 (Test Center)

9
10/21/2004
Classes Part 2 
Chapter 7

Homework 6: Complete the Cup and Dice classes from the following design and workspace. Print the cup.cpp file and bring your source code to class. Workspace

Take On-line Quiz 7 (Test Center)

10
10/28/2004
Operator Overloading
Chapter 8

Homework 7: Complete the Player class to have the player use the cup, throw the dice, chose one round of keeping dice and throw the remainder. Print the player.h and player.cpp file and bring your source code to class. Workspace

Take On-line Quiz 8 (Test Center)

11
11/4/2004
Operator Overloading
Chapter 8 (Continued)
Homework 8: Implement the Rules class with a method score to score the dice in the Cup. Pass the cup dice array to the method. The method scores 5,4,3,2 or a kind, 2 pair, straight and Full house. Return the score to the player. Player throwse the dice from the cup and passes dice array to Rules for score. Print out Rules .h and .cpp.
12
11/11/2004
Inheritance
Chapter 9

Continuing the Rules Class implementation for Homework.

13
11/18/2004
Virtual Function and Polymorphism
Chapter 10 

 Homework 9: Complete the game class with the play function that allows the two players to bet and play the Poker Dice game. Turn in a floppy disk with you executable program and just the source code (Not the workspace). If not working turn in the Game.h, Game.cpp classes and any modifications to other class code printed out.

Source code drop 11/18/2004

Take On-line Quiz 9 (Test Center)

11/25/2004 Thanksgiving  
14
12/2/2004
C++ File Processing
Chapter 14

Homework 10: Add a save to disk a player and load from disk a player. Based on the players entered name load a data file from the disk of the players last balance and playing record of wins and losses. Turn in floppy of working program and source code or if not working turn in your printed source code.

Take On-line Quiz 10 (Test Center

15
12/9/2004
Advanced C++ Preview
Final Review

 

16
12/16/2004
Final Exam
6:30 to 8:30pm

lineeyes.gif (232 bytes)