异常Throwable:分为:错误Error:主要就是内存溢出等错误,只有关掉重启才能解决问题;异常Exception:运行时异常RuntimeException:运行时发生的异常 
一般有空指针异常,数组下标越,除数为0,输入类型不匹配的等异常。编译时异常:这个不是写程序时的错误,那是语法错误...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:14:52   
                                阅读次数:
378
                             
                         
                    
                        
                            
                            
                                //华为编程:筷子,找到第一个单对的筷子#include #define max 37int 
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n); 
if(n>max) ...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:13:33   
                                阅读次数:
339
                             
                         
                    
                        
                            
                            
                                一、警告信息 
警告信息对于将来转换成PCB不会造成严重问题,通常可以忽略。但它也给我们提供了一些参考,比如unconnceted 
pin能告诉我们芯片的哪些管脚没有连接,很有检错意义。1、has no drving source2、has multiple names3、off grid 
pin原....
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:13:33   
                                阅读次数:
595
                             
                         
                    
                        
                            
                            
                                1.logger.debug("Debug ...")或logger.info("Info 
...")或logger.warn("Warn ...")或logger.error("Error ...") 
都只输出对应的信息,即logger.debug只输出debug的信息,info只输出info的信...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 20:41:18   
                                阅读次数:
704
                             
                         
                    
                        
                            
                            
                                Description There are N cities in a country, and 
there is one and only one simple path between each pair of cities. A merchant 
has chosen some paths a...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 17:09:30   
                                阅读次数:
570
                             
                         
                    
                        
                            
                            
                                2014-04-28 
22:05题目:写个程序判断三连棋哪一方赢了。解法:三个相同的棋子连成一条横线,竖线或者对角线就判断为赢了。代码: 1 // 17.2 Write an 
algorithm to check if someone has won the tic-tac-toe game. 2 ...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 18:12:07   
                                阅读次数:
474
                             
                         
                    
                        
                            
                            
                                Basalt has a higher hardness with strength 
300mp as well as the higher silicon content. And during the actual crushing and 
broken industry, the basalt...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 11:42:47   
                                阅读次数:
352
                             
                         
                    
                        
                            
                            
                                add the following text to .vimrc or .gvimrc: if 
has("cscope") set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb " add 
any database in cur...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:27:46   
                                阅读次数:
398
                             
                         
                    
                        
                            
                            
                                crontab运行脚本存在两大问题:环境变量和路径,从而导致单独运行脚本没问题,但用crontab运行就报错。1、环境变量 
描述问题:crontab: usage error: no arguments permitted after this option 
因为crontab不提供环境,所...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:23:47   
                                阅读次数:
370
                             
                         
                    
                        
                            
                            
                                当在eclipse中的web工程中增加了extjs4,出现An internal error 
occurred during: "Building workspace". Java heap space 错误。 
解决办法1:把extjs4的工程安装包不要放到web工程中就ok了,或者建议直接用mye...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 10:13:46   
                                阅读次数:
401