pacman/exercises/16/create_class/README.md

10 lines
403 B
Markdown
Raw Normal View History

2021-10-05 11:48:15 +00:00
[< Back](../README.md)
2021-10-05 11:44:51 +00:00
2021-10-05 11:00:57 +00:00
# Exercise: Simple class
2021-10-17 13:06:42 +00:00
## Exercise:
2021-10-05 12:29:27 +00:00
2021-10-17 13:06:42 +00:00
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.