Update README.md

This commit is contained in:
Patricia Aas 2021-10-17 19:58:36 +02:00 committed by GitHub
parent 9218a3fd4c
commit 4da1344579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,8 @@
[< Back](../README.md)
# Exercise: Simple class
# Exercise: Create a class
## Exercise:
## Exercise: Simple class
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.
1. Create an empty class named `Clyde` within the `.hpp` file.
2. 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.