CF>> Can't say I see what's wrong with this. There's no error in compiling
CF>> it, and when I try to run it, there's no output, and no input I give
CF>> does anything. So then I must brake it with ctrl+c to return to
CF>> command line.
EL> I just compiled it and works for me...
CF>> void main()
EL> I would do
EL> void main(void)
EL> but then, that's just me... :) if your compiler doesn't complain it
EL> shouldn't be reason enought for the program to stop execution.
... and I would do
int main (void)
After all, void main() will be accepted by the compiler, but is technically
illegal/incorrect.
--- PointEd 2.0
---------------
* Origin: The Tibbs' Point - Ottawa, Ontario, Canada (1:163/215.38)
|