delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/29/19:47:53

From: "Andreas Bierhals" <bierhals AT studserv DOT stud DOT uni-hannover DOT de>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


Carlos Matos <cmatos AT sprintmail DOT com> wrote in
<01bce33e$264a1cc0$a32285ce AT default>...
> Hi there guys and girls:
> 
> [Snip...]
>
> #include <stdio.h>
> #include <string.h>
> 
> void main()
> {
> 	char s[1000];
> 	int count;
          ^^^^^^
The variable count is uninitialized. It works for me
with 'int count=0; '.

Greetings!

Andreas B.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019