On Fri, 27 Nov 1998, Havoc Pennington wrote: > > On Fri, 27 Nov 1998, Kent West wrote: > > > > main() > > A long shot, but technically the above is illegal; you have to do: > int main(int argc, char* argv[])
int main(void) is also correct, and until ANSI C90 comes out, main() will do. > then return something from main, or call exit(). > > maybe the lack of a return or exit call from main prevents the io buffers > from getting flushed? the lack of <stdio.h> is probably more important... Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn College Computer Support http://www.geocities.com/Area51/Chamber/8841/ http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/