BullCows are not counting

I followed the instructions on Debugging_101 video. My code founds Bulls count if characters in same position but not found if they are not in same position. Thanks for help.

Testing:

Sorry for image upload. I can only upload a one image per topic as new member.

My hidden word is “ant”. As first, ant founded. As second, **t t founded. As third, mam -> a not founded as Cows.

It was my mistake LOL. I changed second line “Bulls” to Cows on main.cpp

Privacy & Terms