TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: GAINES WRIGHT
from: DARIN MCBRIDE
date: 1998-01-18 19:50:00
subject: Pointer to a string

 GW>    Write and post a snippet of string handling code 
 GW> that clearly shows the superiority of the above to a 
 GW> simple *l='\0'.  Other than hiding sloppy string '\0' 
 GW> terminating logic.
Before anyone gets too far into this, I just want to point out to observers 
that this ONLY DEALS WITH C-style STRINGS, not buffers.  That is, if you are 
to do binary data, memset'ing to all 0 may be beneficial.
(I find that sometimes these long arguments that get nowhere also lose focus, 
and don't want any newbies to misunderstand the argument.)
---
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)

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™.