TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: AUKE REITSMA
from: ROGER SCUDDER
date: 1998-01-24 10:19:00
subject: char to string

Hello Auke.
21 Jan 98 20:03, Auke Reitsma wrote to Roger Scudder:
EL>>> strcat(stringvar, &charvar);
RS>>  Very nice solution!  I can't understand why I never see
RS>>  anyone using it.
AR> It is NOT NICE !!!
 oops!
AR> I agree that &charvar does point to the 'proper' character, but there's 
o
AR> guarantee at all that the subsequent character is a string-terminating 
AR> ascii nul. Yes, if it does work it'll might work always for that 
particular 
AR> case. But in the next case it might start a low level format of your HD 
...
AR> (On my old XT I could do that anyway ;-))
 I guess it goes to show, you can't always believe everything
 you think you see (or was that everything you hear).
 I was all set to reply to him and tell him that it did not work
 but I decided to test it first...  Testing without thinking
 is not much good either, I might add.
 "Hello, brain to roger...  do you read me?...  ... hmmm...."
 -Roger
... tagline.
--- Msged 4.20 beta 3
(1:273/404@fidonet)
---------------
* Origin: Hodge-Podge Support BBS, Upper Darby, Pennsylvania, USA

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