TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BRUCE WEDDING
from: ROGER SCUDDER
date: 1998-04-04 03:00:00
subject: reading input from stdin (was: I`m an id03:00:0604/04/98

Hello Bruce.
03 Apr 98 12:03, Bruce Wedding wrote to David Van Hoose:
DVH>> char name[40];
DVH>> name[40]='\0';
DVH>> Actually it is correct.  I don't know where you 
BW> 0-39.  When you write a 0 to name[40], you are writing to memory you 
don't 
BW> own and it will blow up one day.
 Ancient Chinese Proverb Say:
  "Just because code run, doesn't mean it not have bug!"
 Sounds like this guy has some time bombs waiting to go off. ;-)
 -Roger
--- Msged/386 4.20 beta 3kl3
(1:273/404@fidonet)
---------------
* Origin: Box Of Rotting Corpses BBS, Upper Darby, PA, 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™.