Mail Archives: djgpp/1996/06/05/02:39:04
Reply to message 3126053 from 95RGM AT ENG DOT CAM on 06/03/96 5:24PM
>void main, anyone?
As much as I'd like to, I've already said my piece on the subject.
I could find the original posts and copy them, if you'd like? ;)
Well, maybe just once...
void main() is BAD PROGRAMMING! BAD! Go sit in the corner for 30
minutes! :-P The correct definition for main is:
int main( void )
if you don't need command-line arguments, or
int main( int argc, char *argv[] )
if you do. Screw traditional C.
John
- Raw text -