Windows pop up and close immediately

Sorry, another stupid beginner’s question…
As the test programs of the SDL Mingw32 package now compile and link
without errors (thanx to Galtor) their windows just pop up and close
immediately after execution. What’s wrong again?

Thanx for your help again,
–Michael (remove ‘SPAM’ if replying via email).