public class ToLog { public static void
main(String[] args) throws Exception { //准备日志文件 File f = new File("log.txt");
if(!f.ex...
分类:
其他好文 时间:
2014-07-22 23:12:54
阅读次数:
300
模线性方程的基本应用#includeusing namespace std;int exgcd(int
a,int b,int &x,int &y){ if(b==0) { x=1; y=0; return a; } int d=ex...
分类:
其他好文 时间:
2014-04-30 14:33:27
阅读次数:
326
利用
NSSetUncaughtExceptionHandler,当程序异常退出的时候,就给指定的邮箱发送邮件,邮件内容包括发生异常时候的详情。代码如下:void
UncaughtExceptionHandler(NSException *exception) {NSArray *arr = [ex...
分类:
其他好文 时间:
2014-04-30 01:30:17
阅读次数:
377
直接上代码,记录异常详情: try{// dosomething } catch
(Exception ex) { bsresult = "发送过程出现异常,请联系系统管理员!"; ...
分类:
编程语言 时间:
2014-04-30 01:12:49
阅读次数:
472
Barnyard game -- People will often avoid
conceptualization, or at least avoid publicizing the output because expression
of new ideas sometimes makes y...
分类:
其他好文 时间:
2014-04-29 17:12:24
阅读次数:
501