c ++ exception - Study Notes

1, abnormal

 

 

 

 throw throw string

 

 Best of all: throw throwable.

 

 

catch(...){}

 

 2, using the standard exception classes

 

 

 

 #include<new>

 

 

 

 bitset

 

 To write an exception

 

 

 

 Design your own exception class

Stack

 

 

 

 

 

 test:

 

 

 

Guess you like

Origin www.cnblogs.com/wxl845235800/p/11456702.html