From owner-freebsd-questions Fri Sep 27 11:06:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26118 for questions-outgoing; Fri, 27 Sep 1996 11:06:43 -0700 (PDT) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA26078 for ; Fri, 27 Sep 1996 11:06:40 -0700 (PDT) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.7.1/8.7.1) with SMTP id OAA23525; Fri, 27 Sep 1996 14:06:36 -0400 (EDT) Received: from jandrese.async.vt.edu (jandrese.async.vt.edu [128.173.20.208]) by sable.cc.vt.edu (8.6.12/8.6.12) with SMTP id OAA12435; Fri, 27 Sep 1996 14:06:28 -0400 Date: Fri, 27 Sep 1996 14:07:28 +0000 () From: Nessus X-Sender: jandrese@jandrese.async.vt.edu To: hmmm cc: freebsd-questions Subject: Re: iijppp docs (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 27 Sep 1996, hmmm wrote: _/ _/ _/------------------------------------------------------------------------------ _/main (void) { http://www.alaska.net/~hmmm _/ _/ while ( still_ignorant() ) learn_more(); _/ _/ printf("Congratulations! You are now a Unix Guru!\n"); _/} _//* What's wrong with my code? I can't seem to get it to print out! */ _/------------------------------------------------------------------------------ You should never have void main( void ), it should always return() an integer. :::::::::::::::::::::::::::. . . . . ..:::::::::::::::::::::::::::: :: Jason Andresen :. . . . . . . . . : Nessus :: :: jandrese@vt.edu :.:.:.:.:.:.:.:.:.:: nessus@vt.edu :: :.........................: Quote of the day :..........................: "I used to think I was indecisive, but now I'm not so sure." :::::::::::.:.:.:.:.:.:.:.........................:.:.:.:.:.:.:.:::::::::::