TropicalFish
asked on
Difference between Close() and exit()?
Is there any difference between using TForm1->Close() and exit(0) in Borland C++ Builder 5?
Close() will close the form, and if it's the main form, presumably the program will tidily end. exit() will terminate the program perhaps more abruptly. I'd recommend Close() for normal termination.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.