User forums > Help

No console output when using SDL template

(1/1)

TheChuckster:
Pardon me if this doesn't belong here, but I compile programs with Code::Blocks that use SDL. However, nothing shows up in the "DOS" console window when I try to output text via printf. I am running my programs in the IDE. The console does work, though, with console programs. Only with SDL programs am I unable to write to the console. When I compile SDL programs in Linux using GCC, outputting text to the console works perfectly.

mandrav:

--- Quote from: TheChuckster on July 24, 2007, 01:54:48 am ---Pardon me if this doesn't belong here, but I compile programs with Code::Blocks that use SDL. However, nothing shows up in the "DOS" console window when I try to output text via printf. I am running my programs in the IDE. The console does work, though, with console programs. Only with SDL programs am I unable to write to the console. When I compile SDL programs in Linux using GCC, outputting text to the console works perfectly.

--- End quote ---

A simple search would have given you the answer(s)...

TheChuckster:
Thanks! I tried Google first, but I should have also thought of searching the forums. I'm sorry for bothering you -- I know the feeling since I get redundant DS Doom e-mails all the time from people who don't read the FAQ. >_<

mandrav:

--- Quote from: TheChuckster on July 24, 2007, 05:08:39 pm ---I'm sorry for bothering you

--- End quote ---

No problem :).
It's just that you would have solved your problem earlier if you had searched ;)

Navigation

[0] Message Index

Go to full version