CS12, Lab 2

Week of January 14-18

 

 

Topics: 

·         Using user-defined types

·         Assembling a project with multiple files

·         Proper use of #include statements

 

 

To do: 

·         Copy the files counter.h and counter.cpp

·         Create main.cpp that does the following:

·         Declare a counter object

·         Increment the counter 12 times

·         Print out the value of the counter after each increment (should show 1-12)

·         Reset the counter

·         Print out the value of the counter again (should be 0).