about the function return
When function error, why use the throw Exception the way? why not return result Let's us to decide , when i not register the Exception Handler , my program will close ,not printf anything about the debug info
I think that exceptions looks more natural here than statuses. What difficulties do you face when handling exceptions?
I think that exceptions looks more natural here than statuses. What difficulties do you face when handling exceptions?
no anything difficulties sir,i just want to say,use this way will let this library become strange,i can not easy to use it if the function error,i must be use try catch or register the exception handler Can only know the library function error