Clion with SDL does not display console output until program is closed

I am trying to write a C ++ game using SDL in clion, but my debug prints on the console do not show up until the SDL window is closed. Does anyone know what is wrong?

+3


source to share





All Articles