Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!sci.kun.nl!atcmpe!leo From: leo@atcmp.nl (Leo Willems) Newsgroups: comp.lang.c++ Subject: Re: Flames re: Can you prototype main() ????? Message-ID: <660@atcmpe.atcmp.nl> Date: 17 Sep 90 09:37:45 GMT References: <24449@uflorida.cis.ufl.EDU> Organization: AT Computing, Nijmegen, The Netherlands Lines: 16 From article <24449@uflorida.cis.ufl.EDU>, by bp@swamp.cis.ufl.edu (Brian Pane): > > I've already received one kind e-mail response correcting my earlier > posting on the permissibility of prototyping "int main();," and I hope > stuff deleted > The only reason you'd want to prototype main() is to call it from > somewhere else; in such a case, it ought to be called with the right stuff deleted You are not allowed to call main from within a program (sec 3.4 E&S). If you want to you you're on your own.... Leo