How to print text without skipping line

Hy, I am finishing the BullCowGame section and I want to make a hint function, but I do not know how to print text in the same line, like in c++ with cout. I do not want to skip a line, and PrintLine function does.

How can I print text like std::cout does? no line skip

That functionality wasn’t added. I’d suggest you build up your string and then print that e.g.

FString Example = TEXT("Counting 10");
for (int32 i = 9; i > 0; --i)
{
    Example.Appendf(TEXT(", %i"), i);
}
PrintLine(Example);

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

Privacy & Terms