About this document
C++ Simple Inheritance Lab Guide by The geek Cuesta is a document available to read on EtoBox.
This document describes creating Line and LineStyle classes in C++ using inheritance. The Line class contains coordinates for two points and methods for comparing, displaying, and counting lines. The LineStyle class derives from Line and adds thickness and style members and a display method. The program creates Line and LineStyle objects and tests their functions.
- Author
- The geek Cuesta
- Language
- EN