On 09-Aug-97, Darin Mcbride wrote to Erik Warmelink about Sunir ventures into
C++.
DM>> char szBuf[128]; sprintf(szBuf, "...", ...);
DM>> WinMessageBox(HWND_DESKTOP, szBuf, "function name", MB_OK, ...)
EW>> Wouldn't dbg("function name", ..., "...", ...); be easier?
DM> Heck, no. That would require writing a dbg function! Sometimes I
No! Just a macro or an inline f() to encapsulate your code!
Javier Kohen [The_Crusher] http://jkohen.base.org
... If at first you don't succeed, destroy all evidence that you tried
-!- CrusherTag 0.3.2.
--- Terminate 5.00 UnReg
---------------
* Origin: The King of The Ring (4:900/748.3)
|