User forums > Using Code::Blocks

Sorry if this is a stupid question!

(1/1)

Joe Tsai:
Hi Everyone,

I just came across Code::Blocks and use it as my IDE. I love everthing about   this IDE. Thanks for the great work ^^

I started trying compile the SDL project (SDL-1.2.8) using the template from the Codeblocks. I can build the application and execute it nicely. However, I ran into this stupid problem that I dont know whats wrong.

The printf statement in the template does not print anything on dos window ( either run from codeblock or execute under the dos window). I tried compiled the same code in the Cygwin and everything works fine. Is this the problem associate with mingw4.1?

Thanks for your help

Joe

mandrav:
IIRC, SDL redirects output to a file stdout.txt so whatever you printf() will be written in this file.

Yiannis.

Anonymous:
Thank Yiannis for the reply. It is good to know this^^


Joe Tsai

Navigation

[0] Message Index

Go to full version