pacman/exercises/16/create_class
2021-10-07 12:44:32 +02:00
..
solution Change order of module 16 and 17 2021-10-07 12:44:32 +02:00
README.md Change order of module 16 and 17 2021-10-07 12:44:32 +02:00

< Back

Exercise: Simple class

Background:

  1. Create an empty class named Clyde within the .hpp file. Look at other ghost .hpp files and see how they define the class. It does not need to inherit from the Ghost base class and it does not need any functions. But if you have extra time, try to inherit from the Ghost class and see what happens when you try to compile.

Exercise