diff --git a/exercises/14/parameters/README.md b/exercises/14/parameters/README.md index b794f90..694fb7e 100644 --- a/exercises/14/parameters/README.md +++ b/exercises/14/parameters/README.md @@ -5,7 +5,7 @@ In this exercise we will look together at what happens when we change a reference parameter to a value or a const reference. -Let's look at this function +Let's look at this function in [`Game.cpp`](../../../lib/Game.cpp) ```cpp void Game::processEvents(InputState & inputState) { @@ -28,6 +28,8 @@ void Game::processEvents(InputState & inputState) { ## Exercise +You can follow along locally: + 1. Make `inputState` a value. What happens when you compile the code? Can you explain why? 2. Now make it a `const` reference. What happens? Can you explain why?