Using Header Files as Contracts

Having completed a data structures course in C++, I am no stranger to writing classes. However, before I watch the rest of the video, I’m not entirely sure if I’m going to write the implementation, or .cpp file, for the FBullCowGame class. I’m also not sure if i would be replacing all my implemented functions in the main file.

So far, I thought of adding a boolean function to determine if the input matches the isogram target and a void to print the player’s data.

Privacy & Terms