Letter Char Failed?

still new to c++ so any help will be great

it says no suitable construct from char to std::basic_string when i try to make the lowercase check for bulls and cows here is my code to the FBullCowGame.cpp.

The Problem is between line 47 and 57
but on line 51 is where it says no suitable construct from char to std::basic_string when i put my mouse over Letter

Link: https://pastebin.com/uk2cTVUR

On line 51 you’re calling bIsLowercase but should be islower

i changed it but the word Letter inside the brackets keeps giving me the error no suitable construct from char to std::basic_string

If you changed it there shouldn’t be any basic_string involved. Can you show the updated code?

Privacy & Terms