?? fun_catc.cpp
字號:
#include <iostream.h>
void XHandler(int test)
{
try {
if(test) throw test;
}
catch(int i)
{
cout << "Caught exception #: " << i << endl;
}
}
void main(void)
{
cout << "Start: " << endl;
XHandler(1);
XHandler(2);
XHandler(0);
XHandler(3);
cout << "End";
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -