摘要:        
Object.extend=function(destination, source) {for(varpropertyinsource) { destination[property]=source[property];}returndestination;}Prototype 对Object类进...    阅读全文
        
            posted @ 2014-06-13 16:54
小毛驴
阅读(205)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
#ifDEBUG首先,大小写不能写错.其次,解决方案配置设为:Debug,才会执行该语句,如果在条件里面搭配Debug.Assert等,效果甚佳。而如果要设置为Release模式,就不会执行条件语句中的内容,有时候可以通过设置!DEBUG来达到发布产品执行的代码。示例代码:int debugNumb...    阅读全文
        
            posted @ 2014-06-13 14:27
小毛驴
阅读(278)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号