pacman/exercises/17/create_class
2021-10-05 14:29:27 +02:00
..
solution Reformat and add some text to make ghost 2021-10-05 10:37:48 +02:00
README.md Add structure to the READMEs 2021-10-05 14:29:27 +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