printf() checking for custom functions

John (Eljay) Love-Jensen eljay@adobe.com
Wed Sep 26 14:03:00 GMT 2007


Hi Randall,

>A problem I hit with it though is that:
>   myDebug( "" );

You'll need to use a convention to avoid that, such as putting in one space:

MyDebug(" ");

Or using a different function:

MyDebugEmpty();

Or, since you are using C++, an overload:

MyDebug();

HTH,
--Eljay



More information about the Gcc-help mailing list