Mail Archives: djgpp/1997/12/29/15:45:58
Ryan McGee wrote:
>
> why is useing void main() a bad idea? I've heard that all over the
> place but nobody tells me why I shouldn't do that. Does it have
> something to do with error checking? What's going to check the return
> value of main?
please address basic C related questions to the appropriate groups. For
example, comp.lang.c or comp.lang.c.moderated. for an answer to your
question, see the comp.lang.c FAQ at
http://www.cis.ohio-state.edu/hypertext/faq/usenet/C-faq/faq/faq.html
look at questions 11.12, 11.13, 11.14, 11.15 and 11.16.
personally, i would recommend you stay away from the 'dummies' and
'idiots' books unless you really are one.
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -