CS-489 Lab 1: C++ Refresher/Overview

Dr. Mark J. Sebern


CS-489 main page Schedule

Overview

The purpose of this lab is to gain familiarity with the C++ development environment and to review some C++ concepts.

Activities

This is an individual lab; each student is to submit a separate report. However, you are encouraged to discuss your work with others and to consult with the instructor as necessary.

In this lab, you will:

Detailed instructions

If you have difficulties with any part of the lab, consult the instructor for assistance. The basic sequence is:

  1. Sketch the design for a small C++ program with at least one user-defined class. The class should have a constructor, destructor, copy constructor, an assignment operator, and other member functions. For example, you might implement a bank account class with member functions to make deposits and withdrawals and to print the current balance.
  2. Implement the program. (Instructions for Microsoft Visual C++ are available.)
  3. Submit the lab report (details below).

Lab report

The lab report should consist of the following:

Submit this report to the instructor by email or another agreed-upon technique (e.g., giving read access to files on the file server). Be sure to keep copies of all your files, in case something gets lost; it may be wise to keep a diskette backup (or ftp the files to another system, such as torres) as well.

The lab report is due before the beginning of the following lab period. If you have any questions, consult the instructor.


This page was last updated on September 06, 1998; send comments to Mark Sebern.