From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: compile warning Date: Sun, 11 May 1997 17:04:52 -0700 Organization: Alcyone Systems Message-ID: <33765EA4.6052728F@alcyone.com> References: <97May10.184721gmt+0100 DOT 16645 AT internet01 DOT amc DOT de> <3374B89C DOT 52FC7701 AT alcyone DOT com> <3374E145 DOT 7177 AT osu DOT edu> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ross Litscher wrote: > so, the stdio.h was the problem with the rand(). The header is stdlib.h, but you corrected this in a later post. > and for the 'void main(void) y'all confused me a bit. > should i do something like: > > int main() > { > ... > return 0; > } Correct. -- Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "The future / is right there." / Bill Moyers