Problem with Current try

Hello guys, having some problem with the lecture 32 when i run my program dosen’t show the number of turn. I get no error but they just dosen’t show up. Suppose that the problem is related with my header but all looks fine

#pragma once

#include

class FBullCowGame {
public:
int GetMaxTries() const;
int GetCurrentTry() const;
bool IsGameWon() const;

void Reset(); // TODO make a more rich return value.
bool CheckGuessValidity(std::string); // TODO make a more rich return value.



									  // ^^ Please try and ignore this and focus on the interface above ^^

private:
int MyCurrentTry = 1;
int MyMaxTries = 5;
};

Captura5

Resolved. Had to clear the solution and rebuild it

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms