摘要: //相当于创建一个指针数组int*[],每一个数组元素是一个指针,代表一行,共r行int * *ar = new int*[r] ;for (int i = 0 ;i< r ; i++){*(ar+i) = new int[c]; 阅读全文
posted @ 2015-11-05 23:07 喵小喵~ 阅读(218) 评论(0) 推荐(0) 编辑
摘要: private boolean judge(String str){ int year = 0; try{ year = Integer.valueOf(str).intValue(); }catch(NumberFormatExcep... 阅读全文
posted @ 2015-11-05 20:38 喵小喵~ 阅读(197) 评论(0) 推荐(0) 编辑