C++

C++ on the Web

Books

(Google PageRank) Base the software architecture on the problem domain. Use objects, classes and inheritance. Base





         Input requirements                               Return values
 __________________________________           ______________________________________
|member functions of DERIVED class|          |member functions of BASE class        |
|                                 |          |                                      |
|     ____________________        |          |       ________________________       |
|    |member functions of |       |          |      |member functions of     |      |
|    |BASE class          |       |          |      |DERIVED class           |      |
|    |                    |       |          |      |                        |      |
|    |                    |       |          |      |                        |      |
|    |                    |       |  ---->   |      |                        |      |
|    |                    |       |          |      |                        |      |
|    |                    |       |          |      |                        |      |
|    |                    |       |          |      |                        |      |
|    |____________________|       |          |      |________________________|      |
|                                 |          |                                      |
|                                 |          |                                      |
|_________________________________|          |______________________________________|


(Need not be proper subsets.)