TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ERIC LONDAITS
from: ANTHONY TIBBS
date: 1998-01-27 18:55:00
subject: sort.cpp

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.