Visual studio SDL : I installed recently sdl2 of visual studio but I'm having problems when I have to load an image.
Practically the window closes immediately without regard to whether the image is loaded.
I used the code on lazyfoo.net.

http://lazyfoo.net/tutorials/SDL/02_getting_an_image_on_the_screen/index.php+

Can you help me?
