Skip to content

markwhittyunsw/MTRN2500-T3-2019-Week-10-Lectures

Repository files navigation

MTRN2500-T3-2019-Week-10-Lectures

virtual2.cpp

  • Shows examples of
    • pure virtual methods
    • implementing pure virtual methods in the base class (not inline)
    • illustrating VTABLE usage (see the Lecture 19 slides)

interfaces.cpp

  • An example of an interface for the shapes class, checking inputs before calling private pure virtual methods defined in the derived shape, square and circle classes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages