What is wrong in preventing SIGSEGV crashes by putting the body of main inside a __try{} __catch{} block? Anyway nothing bad would have happened since the OS would have prevented it, and I would have just failed in whatever operation I tried to perform. I agree this is not the correct thing to do. But what are problems other than that I might fail some operations?
Aucun commentaire:
Enregistrer un commentaire