Lab8 - Classes and Objects II - Division of Applied Science and Technology Community College of City University AST21105 Object-Oriented Programming

Lab8 - Classes and Objects II - Division of Applied Science...

This preview shows page 1 - 3 out of 10 pages.

Division of Applied Science and Technology, Community College of City University AST21105 Object-Oriented Programming & Design Page 1 of 10 AST21105 Object-Oriented Programming & Design Lab 8 – Classes and Objects II A. Submission Details In this lab, you are required to submit ONE C++ program with TWO files to solve the given problem shown in the section “Date Class”. To make the program implementation easier, you are suggested to write your program using Visual Studio .NET instead of doing it directly using paper & pencil. After you have completed the implementation, submit your program files (i.e. WordData.h and WordData.cpp for this lab) using the electronic “drop-box” in Canvas, One week after your lab section is conducted. For details, please refer to the following: You are reminded to double-check your solution to verify everything is correct before submission. You are also required to put your name and student ID at the beginning of your source file. Important: You are only able to submit your work once. B. Objective Constructors are special member functions used to initialize data members. The objective of this lab is to help you get familiar with the procedure on creating user-defined type that you have learned in class and perform initialization of data members using constructors. The first part of this lab is meant to be a simple review of constructors and some important member functions. While the second part of this lab is a practical task that allows you to use all the techniques introduced. Tuesday sections by 19:00 on 15 March 2016 (Tuesday) Wednesday sections by 19:00 on 16 March 2016 (Wednesday)
Image of page 1