Need help with these errors

So I’ve just come upon a load of errors and I don’t know how, when, or what I messed up. Here is my error list:

Here is my code:

Main.cpp

/* This is the console executable that makes use of the BullCow class
This acts as the view in a MVC pattern, and is responsible for all
user interaction. For game logic see the FBullCowGame class.
*/

#include
#include
#include “FBullCowGame.h”

using Ftext = std::string;
using int32 = int;

void PrintIntro();
void PlayGame();
Ftext GetGuess();
bool AskToPlayAgain();

FBullCowGame BCGame; // instantiate a new game

// the entry point for our application
int main()
{
bool bPlayAgain = false;
do {
PrintIntro();
PlayGame();
bPlayAgain = AskToPlayAgain();
} while (bPlayAgain); {
return 0; } // exit the application

// introduce the game
void PrintIntro();
{
	constexpr int32 WORD_LENGTH = 9;
	std::cout << "Welcome to Bulls and Cows, a fun word game.\n";
	std::cout << "Can you guess the " << WORD_LENGTH;
	std::cout << " letter isogram I'm thinking of?\n";
	std::cout << std::endl;
	return;
}


void PlayGame();
{
	BCGame.Reset();
	int32 MaxTries = BCGame.GetMaxTries();

	// loop for the number of turns asking for guesses
	// TODO change from FOR to WHILE loop once we are validating tries
	for (int32 count = 1; count <= MaxTries; count++) {
		Ftext Guess = GetGuess(); //TODO make loop check for valid guesses

	// submit valid guess to the game, and receieve counts
		FBullCowCount BullCowCount = BCGame.SubmitGuess(Guess);
		// print # of bulls and cows
		std::cout << "Bulls = " << BullCowCount.Bulls;
		std::cout << ". Cows = " << BullCowCount.Cows << std::endl;
	}
	//TODO summarize game
}


// get a guess from the player
Ftext GetGuess();
{
	int32 CurrentTry = BCGame.GetCurrentTry();

	std::cout << "Try " << CurrentTry << ". Enter your guess: ";
	Ftext Guess = "";
	std::getline(std::cin, Guess);
	return Guess;
}

bool AskToPlayAgain();
{
	std::cout << "Do you want to play again? (y/n)?";
	Ftext Response = "";
	std::getline(std::cin, Response);
	return Response[0] == 'y' || (Response[0] == 'Y');

	return false;
}

FBullCowGame.h

#pragma once
#include

using FString = std::string;
using int32 = int;

// all values initialized to 0
struct FBullCowCount
{
int32 Bulls = 0;
int32 Cows = 0;
};

class FBullCowGame
{
public:
FBullCowGame(); //Constructor

int32 GetMaxTries() const;
int32 GetCurrentTry () const;
bool IsGameWon() const;

void Reset(); // TODO make a more rich return value.
bool CheckGuessValidity(FString);
FBullCowCount SubmitGuess(FString); // counts bulls & cows, and increases try # assuming valid guess

// ^^ ignore Private class right now. focus on interface above ^^
private:
// See constructor for intialization
int32 MyCurrentTry;
int32 MyMaxTries;
FString MyHiddenWord;
};

FBullCowGame.cpp

#include “FBullCowGame.h”

using int32 = int;

FBullCowGame::FBullCowGame()
{
Reset();
}

int32 FBullCowGame::GetMaxTries() const { return MyMaxTries; }
int32 FBullCowGame::GetCurrentTry() const { return MyCurrentTry; }

void FBullCowGame::Reset()
{
constexpr int32 MAX_TRIES = 8;
MyMaxTries = MAX_TRIES;

const FString HIDDEN_WORD = "ant";
MyHiddenWord = HIDDEN_WORD;

MyCurrentTry = 1;
return;

}

bool FBullCowGame::IsGameWon() const
{
return false;
}

bool FBullCowGame::CheckGuessValidity(FString)
{
return false;
}

// receives a VALID guess, increments turn, and returns count
FBullCowCount FBullCowGame::SubmitGuess(FString Guess)
{
// increment the turn number
MyCurrentTry++;

// setup a return variable
FBullCowCount BullCowCount;

// loop through all letters in the guess
int32 HiddenWordLength = MyHiddenWord.length();
	for (int32 MHWChar = 0; MHWChar < HiddenWordLength; MHWChar++) {
		// compare letters against the hidden word
			for (int32 GChar = 0; GChar < HiddenWordLength; GChar++) {
				// if they match then
						if (Guess[GChar] == MyHiddenWord[MHWChar]) {
							if (MHWChar == GChar) { // if they're in the same place
								BullCowCount.Bulls++; // incriment bulls
							}
							else {
				BullCowCount.Cows++; // must be a cow
			}
		}
	}
}
return BullCowCount;

}

Please use code formatting because it’s really hard to read and things like the #include's don’t come up properly. To format highlight the code and press the </> button. Or surround it with 3 back ticks like this

```
code here
```

From your error message I see that you’re trying to convert from Ftext to int which is not possible. You should use a function simmilar to std::stoi() to convert from Ftext to int. Also see where you have a missing or redundant curly bracet. After this try to compile again and see if there are any other errors.
Also do try formatting the code, because it is hard to read as DanM said.

int main()
{
    bool bPlayAgain = false;
    do {
        PrintIntro();
        PlayGame();
        bPlayAgain = AskToPlayAgain();
    } while (bPlayAgain); 
 { //??? delete this {
    return 0; 
} // exit the application

And you have semicolons at the end of all of your function definitions, delete those

void PrintIntro() //no semicolon here.
{
	constexpr int32 WORD_LENGTH = 9;
	std::cout << "Welcome to Bulls and Cows, a fun word game.\n";
	std::cout << "Can you guess the " << WORD_LENGTH;
	std::cout << " letter isogram I'm thinking of?\n";
	std::cout << std::endl;
	return;
}

@DanM When I deleted the semicolon at the end of void PrintIntro() I received another error.

Did you remove that extra { in main? The first part of my previous comment?

Okay I did remove the extra { now. It compiles and works well. Thanks a million for your time and help.

If anyone is curious this is what main looks like now for me:

int main()
{
bool bPlayAgain = false;
do {
PrintIntro();
PlayGame();
bPlayAgain = AskToPlayAgain();
} while (bPlayAgain);
return 0;
} // exit the application

Again, highlight the text and press </> for code formatting.