Lab 1: Subtask 3: Better C
DUE: at the beginning of Week 5 lab.
By now you should have tried compiling your DaTime and Time data types
with th g++ compiler (and fixed any errors). For this subtask we will
begin migrating these types to classes. The first step is to modify
your code to take advantage of as many of the "better C" features of
C++. I would suggest you copy your directory to a new directory
and make the changes there. Make the changes incrementally, and
recompile and test often. As you make these changes, you will need to
change your driver accordingly.
- Tags as "first class citizens"
- Inline functions
- Name mangled functions (and overloading)
- Default parameters
- Reference parameters
- Const parameters
This is the last week we will work directly on this project in lab.
You will complete the application in homeworks, beginning with
a simplified application for hw1.