From: "Andreas Bierhals" Newsgroups: comp.os.msdos.djgpp Subject: Re: Having problems with a simple C program on the djgpp platform in windos 95 using RHIDE Date: 29 Oct 1997 23:04:25 GMT Organization: RRZN - Newsserver Lines: 22 Message-ID: <01bce3f5$6a79ef80$LocalHost@bierhals> References: <01bce33e$264a1cc0$a32285ce AT default> NNTP-Posting-Host: h47.ts1.uni-hannover.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Carlos Matos wrote in <01bce33e$264a1cc0$a32285ce AT default>... > Hi there guys and girls: > > [Snip...] > > #include > #include > > void main() > { > char s[1000]; > int count; ^^^^^^ The variable count is uninitialized. It works for me with 'int count=0; '. Greetings! Andreas B.