Please don't modify the existing code in apex_code.h/cpp. testbench.cpp - this is a test program that runs the unit tests, similar to previous labs All the code that you have to write is in apex_code.h/cpp, but its always good to more test cases to testbench.whats_my_sign.cpp - this is a program that takes your birth month and outputs your sign, its uses the class in apex_code.apex_code.h - this contains the class declarations and inline methods apex_code.cpp - this contains the class method definitions.You will need to code the declaration of Zodiac. Zodiac - the class that groups of all the signs to make up the entire zodiac I provide most of the Zodiac Sign class declaration in the starter code.Zodiac Sign - the abstraction of a zodiac sign.Overview In this lab there are two required classes. In our zodiac, if you are born March 1 or March 31 you are a Pisces. For example, anyone born in March is a Pisces. To make our programming a bit easier, our zodiac is going to map a sign to one full month. A zodiac sign typically spans two months.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |