How to organize your code into header files (Circle.h, Square.h) and implementation files (Circle.cpp. Square.cpp. main.cpp).
1
Expert's answer
2016-12-13T11:06:10-0500
1. Add libraries and streams in Circle.h or Square.h 2. Add: ‘include “Circle.h”’ and ‘include “Square.h”’ in Circle.cpp. Square.cpp. main.cpp 3. Describe class Circle in Circle.h 4. Describe class Square in Square.h 5. Write functions for class Circle in Circle.cpp 6. Write functions for class Square in Square.cpp 7. Use functions in main.cpp
Comments
Leave a comment