Why the TEXT isn't optional anymore?

i know that this lecture isn’t about TEXT but about loops but every time i try to run my code without TEXT it won’t run why ?
because before i was able to run my code without using TEXT but now it’s not possible ! TEXT

The formatted version of PrintLine only accepts TCHAR (which on Windows is wchar_t) as that’s needed for FString::Printf. e.g.

PrintLine("Hello");

Should compile still. The one that takes more than one can’t use anything other than TCHAR for the format string.

PrintLine("Bad %i", 10);

If you were compiling on Linux that should compile as TCHAR is char on Linux.


"Hello"  // - This is of type const char[6]
L"Hello" // - This is of type const wchar_t[6]

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

Privacy & Terms