Does Traditional C++ work in UE 4

I wanted to ask like in the previous section for output we did
std::cout << " ";
Will this work in unreal if we include “iostream”

It can be possible but not directly: https://answers.unrealengine.com/questions/486276/using-stdcout-with-ue-log-and-output-console.html

However it might not be the best way to go.

No because std::cout is outputting to stdout, the standard output stream which the in-game terminal is not. It’s just a terminal emulator.

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

Privacy & Terms