My Class Methods

Thanks for sharing

Here is my header file.

#pragma once

class FBullCowGame {
public:
	void Reset(); //TODO make a more rich return value
	int GetMaxTries();
	bool IsGameWon();
	int HowManyBulls();
	int HowManyCows();

private:
	int MyCurrentTry;
	int MyMaxTries;
};

Here is my header file. The 3 functions commented out are ones that I came up with but not mentioned by the instructor. The two below those I did not think of. We are now going past my very basic C++ knowledge! :laughing:

Privacy & Terms