TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ERIK WARMELINK
from: DARIN MCBRIDE
date: 1997-08-09 12:49:00
subject: Sunir ventures into C++

 -=> Quoting Erik Warmelink to Darin Mcbride
 EW> Darin, 02 Aug you wrote to Asher Densmore-Lynn:
 
 DM> When I'm debugging, I often need:
 
 DM> char szBuf[128];
 DM> sprintf(szBuf, "...", ...);
 DM> WinMessageBox(HWND_DESKTOP, szBuf, "function name", MB_OK,
 DM> ...) 
 EW> Wouldn't
 EW> dbg("function name", ..., "...", ...); 
 EW> be easier? Perhaps even
Heck, no.  That would require writing a dbg function!  Sometimes I just need
a quick peek, not a full-fledged debugging system.  I'm not writing a major
software product from scratch, here, I'm adding new functionality on to an
old product, and need quick peeks into my code.
 EW> dbg(number, "function name", ...);
 EW> where number is a switch that can be put on from the command line. The
 EW> debug code could again be useful later. ;-)
Again, that's if I have time to develop a full-fledged debugging system into
my code.  I don't always have that luxury.
... I am Borgs Bunny.  What's assimilated, Doc?
--- FastEcho 1.46
---------------
* Origin: House of Fire BBS - Toronto - (416)601-0085 - v.34 (1:250/536)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.