Author Topic: Sorry if this is a stupid question!  (Read 4455 times)

Joe Tsai

  • Guest
Sorry if this is a stupid question!
« 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Sorry if this is a stupid question!
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Sorry if this is a stupid question!
« Reply #2 on: June 23, 2005, 07:04:10 pm »
Thank Yiannis for the reply. It is good to know this^^


Joe Tsai