TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: DARIN MCBRIDE
from: BILL BIRRELL
date: 1998-03-09 08:00:00
subject: Avoid disaster

Darin,
 >  JD>      char string[4];
 >  JD>      string="OUCH";
DM > You mean:
DM >   strcpy(string, "OUCH");
    No. "OUCH" is 5 chars long; string[] is four. Quart into pint pot 
syndrome.
 > The operator = won't work here.
    True, but nothing at all will cope with these circumstances. :-)
bb.
---
---------------
* Origin: bill@escan.demon.co.uk (2:2504/200)

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