c++中try catch的用法在c++中,可以直接抛出异常之后自己进行捕捉处理,如:(这样就 ... int main () { try { throw 1; throw "error"; } catch(char *str) { cout ...
確定! 回上一頁