using cout in sdl

In normal c++ i am used to showing output to get an idea what mistake i made in sdl i tried to use the same thing writing cout<<"ERRor in --function()\n";
it shows no errors but i cant find the message output anywhere on console screen
Try checking the generated files 'stderr' or 'stdout'.
I think you misunderstanding the thing is , is it possible in sdl to output anyting without blitting an image or using fillRect(); function like in simple c++ we write cout<<"Hello World";
SDL on Windows outputs everything to files named stdout.txt and stderr.txt.
^ This.

I think you misunderstood me. There's actually a way around this, if you change the subsystem options via project settings in VS. I'm not sure how you'd do this in a different IDE.
On code::blocks you can change it from a GUI application to a Console application and it will have both the gui and console.
Yes exactly what i wanted thank you all :D
Topic archived. No new replies allowed.