Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [01-2005 Date Index] [Date Next] || [Thread Prev] [01-2005 Thread Index] [Thread Next]

[openbeos] Re: Using printf() in "non-terminal" apps

  • From: Jérome DUVAL <korli@xxxxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Wed, 5 Jan 2005 11:20:27 +0100
Hi Fredrik

printfs included in addons are displayed in the main executable console. So
if you want to see yours when writing media addons, you should quit
media_server team (ie with ProcessController) then start
/system/servers/media_server in a terminal.
When the main executable is started by another app, printfs are displayed in
the "parent" app console (see Expander which launch zip tool for example)

Bye,
Jérôme

----- Original Message ----- 
From: "Fredrik Ekdahl" <fredrik.ekdahl@xxxxxxx>
To: <openbeos@xxxxxxxxxxxxx>
Sent: Wednesday, January 05, 2005 10:45 AM
Subject: [openbeos] Using printf() in "non-terminal" apps


> I've just recently started programming in C/C++ and have a simple
question.
> I'm trying to write a media reader and decoder and want to use TRACE
(defined as printf) like I've seen other do in their code to see what
happens. The problem is that I can't find how to see the output. It's
getting inconvenient to write it to a file.
>
> /Fredrik Ekdahl
>
>
>






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.