Mail Archives: djgpp/1996/07/11/09:10:30
Errors-To: postmaster AT ns1
Date: Sun, 7 Jul 1996 13:54:53 -0600 (MDT)
X-Sender: laurin AT mailhost DOT cyberhighway DOT net
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
From: laurin keith davis <laurin AT cyberhighway DOT net>
Content-Type: text/plain; charset="us-ascii"
Content-Length: 663
i am using an online tutorial and it suddenly went from using main to void
main without telling me why. could someone please explain the difference?
There is a recent thread on this topic check out DJ's server and search the
archive. Basically your tutorial is wrong on both counts. Main should always
be declared "int main( void ) -or- int main( int argc, char **argv )" though
various people espoused in the thread as to "void main() -and- main()"
being harmless. Check out the thread for more depth.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -