Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Joe Tsai on June 22, 2005, 11:49:30 pm

Title: Sorry if this is a stupid question!
Post by: Joe Tsai on June 22, 2005, 11:49:30 pm
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
Title: Sorry if this is a stupid question!
Post by: mandrav on June 23, 2005, 08:57:13 am
IIRC, SDL redirects output to a file stdout.txt so whatever you printf() will be written in this file.

Yiannis.
Title: Sorry if this is a stupid question!
Post by: Anonymous on June 23, 2005, 07:04:10 pm
Thank Yiannis for the reply. It is good to know this^^


Joe Tsai