本文参考这里
Cpp的异常处理建立在三个关键字上:try, catch, throw
try, catch, throw
try {// protected code }catch(...)//三点省略号,handle any type of exception {// code to handle any exception }
略
上一个:Java 集合框架ArrayList 储存自定义数组
下一个:宠物粮食品牌取名怎么取好听点(宠物粮品牌起名字)