程式的離開最好優雅一點

By below article:

http://blog.csdn.net/yangywyangyw/article/details/6132341

We found that we usually call exit and ExitProcess to quit the program at any place, just because we think it's ok to exit. However, this is not right way. We should exit our program gracefully. It means that, in console application, we should return from main. In MFC, the ExitInstance should be called.


留言

熱門文章