My code is giving me the following error (BullsandCows)


Have you tried putting a space in between the — and the %s that you have on line 7? Might be a syntax issue. I’m not sure, good luck though.

Yes I’ve tried, but this isn’t working

Oh oof lol
put an asterisk before Answer :slight_smile:

PrintLine(TEXT(“The Word is — %s”), *Answer);

Sorry, I’m new to this too , but from my understanding when you’re passing in a string with %s you have to use the asterisk * before the name of the variable you’re using. It’s not the same for integers, you don’t need the * for them, something to do with how much memory is allocated ( didn’t fully understand this part yet)

1 Like

Wow,this worked. A big thanks to you for solving this problem.

1 Like

Very happy to hear this worked. Good luck and have fun!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms