My solution for the word length challenge

So, first i created a method in main.cpp that ask the user for a word lenght, then checks if it is a number between 3 and 7 and select the word( i know it does a lot of things and that`s not recommended, but im happy with it)

Main method

This method in FBullCowGame that checks the entry, but i wasn`t able to make it check for strings.I also did another enum “EWordStatus” int the header with the error labels.

Checking the entry

The word is selected from this map

Word Map

Here it is working

Working

Privacy & Terms