[Despite everything that's been written on this topic, people keep claiming that void main() must be okay because it ``works for them''. Here is part of a reply I sent to someone who made this claim by mail.]

From: scs@eskimo.com (Steve Summit)
Date: Tue, 30 May 2000 20:41:28 -0700 (PDT)
Subject: Re: int main() vs void main()

Declaring main() as void is kind of like saying ``ain't''. Everyone will know what you mean, but it's not ``correct English'', and people who care about correct English will think less of you for saying it.

Suffice it to say that, just because void main() works for you, doesn't mean it's right. If you run a red light in the middle of the night and no policeman arrests you, does that mean it's okay to run red lights? If you have the ball in a basketball game and you take three steps without dribbling and the ref doesn't notice, does that mean that traveling is legal in basketball?

Steve Summit

Programming Challenge #6: Don't just fix the bug.
See http://www.eskimo.com/~scs/challenge/.