Why doesn’t the for loop answer for the if statement?
I’m trying to create a Wordle game with C++, version 5.11. The game is simle: i randomly generate a word from a closed selection and stored in a variable. Then, i created a while loop to introduce letters and store them in variable to print to the terminal if they are correct. If they don’t, they substract you lifes from the count. The game works, because when you guess correctyl, it doesn’t substract you lifes, but it doesn’t show the word with the letters and gaps either.