Path: chuka.playstation.co.uk!news From: "Omar" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Ten bytes bug in gcc? Date: Tue, 14 Aug 2001 14:09:11 -0400 Organization: PlayStation Net Yaroze (SCEE) Lines: 12 Message-ID: <9lbptg$fio2@www.netyaroze-europe.com> References: <01c124b1$16cc8cc0$LocalHost@pal-s-omnibook> NNTP-Posting-Host: 1Cust102.tnt1.farmington.mi.da.uu.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 i'm not sure why that piece of code would not work, but if you were using it in a game, you might want to make it unsigned char test[11] instead so that the last one is NULL value. i think this is only with type "char" arrays that you need to leave one extra to hold a null value. i think i remember reading about something like that. but its a total guess. if the whole program was just what you listed, then i'm really not sure. i'm sure that what Jon said is right. -Omar