异常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
                             
                    
                        
                            
                            
                                mysql_num_rows();返回结果集中行的数目。1 $sql1 = "select * 
from movie";2 $result1 = mysql_query($sql1) or die(mysql_error());3 $count = 
mysql_num_rows($result1);...
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:13:33   
                                阅读次数:
354
                             
                    
                        
                            
                            
                                今天在学习鸟哥的菜的时候,发现自己linux不可以启用vim命令,错误为:bash: vim: 
command not found。 机器环境:VMWare8+RED HAT Enterprise5 解决方法: 发现问题的根源在于没有安装好vim 输入 
rpm -qa|grep vim ...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:12:56   
                                阅读次数:
993
                             
                    
                        
                            
                            
                                //华为编程:筷子,找到第一个单对的筷子#include #define max 37int 
main(){ int n,i,j; int a[max]; int flag=0; int error=-1; scanf("%d",&n); 
if(n>max) { printf("...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:12:15   
                                阅读次数:
325
                             
                    
                        
                            
                            
                                引入:#include#includevoidfun(char**q){exit;}voidmain(){char**p,a[6][8];p=a;fun(a);}编译不能通过!ERROR:不能将”char(*)[8]”类型的值分配到”char**”类型的实体。ERROR:”char(*)[8]”类型...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:11:34   
                                阅读次数:
313
                             
                    
                        
                            
                            
                                http://anthon-lx.iteye.com/blog/811460完整的错误信息如下:java.sql.SQLException: 
Listener refused the connection with the following error:ORA-12505, 
TNS:listene...
                            
                            
                                分类:
数据库   时间:
2014-07-22 23:09:35   
                                阅读次数:
430
                             
                    
                        
                            
                            
                                $.ajax({type:"get", url:"http://", 
data:"name="+userid+"&password="+password,async:true, 
error:function(request){alert("Connectionerror"); }, success:...
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:06:54   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                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
                             
                    
                        
                            
                            
                                Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!     
     解决方法:
setenforce 0...
                            
                            
                                分类:
移动开发   时间:
2014-04-27 21:18:05   
                                阅读次数:
450