上一页 1 ··· 285 286 287 288 289 290 291 292 293 ··· 527 下一页
摘要: 1 uiview动画[UIViewbeginAnimations:@"Curl"context:nil];//动画開始[UIViewsetAnimationDuration:0.75];[UIViewsetAnimationDelegate:self];[UIViewsetAnimationTran... 阅读全文
posted @ 2015-07-05 16:39 zfyouxi 阅读(150) 评论(0) 推荐(0)
摘要: zTree市县实现三个梯级DAO接口测试ProvinceDaoTest.java:/** * @Title:ProvinceDaoTest.java * @Package:com.gwtjs.dao * @Description:省份地市县级三级级联DAO接口測试 * @author:Youhaid... 阅读全文
posted @ 2015-07-05 15:14 zfyouxi 阅读(181) 评论(0) 推荐(0)
摘要: 堆栈是一个最后出来该数据结构.栈的基本操作包含:入栈,出栈,初始化栈,清空栈,遍历栈.C代码例如以下:#include #define MaxSize 20typedef int ElemType;typedef struct stack{ ElemType Data[MaxSize]; ... 阅读全文
posted @ 2015-07-05 14:41 zfyouxi 阅读(347) 评论(0) 推荐(0)
摘要: 1、进口jar2、web.xml配置contextConfigLocationclasspath:beans.xmlorg.springframework.web.context.ContextLoaderListeneractionorg.springframework.web.servlet.D... 阅读全文
posted @ 2015-07-05 14:02 zfyouxi 阅读(236) 评论(0) 推荐(0)
摘要: 1、错误叙述性说明2014-7-12 0:38:57 org.apache.catalina.core.ApplicationContext log信息: No Spring WebApplicationInitializer types detected on classpath2014-7-12... 阅读全文
posted @ 2015-07-05 12:40 zfyouxi 阅读(5380) 评论(1) 推荐(0)
摘要: 第一种方式:import java.util.Calendar;import java.util.TimeZone;public class Test { /** * 将毫秒转换为年月日时分秒 * * @author GaoHuanjie */ public String getY... 阅读全文
posted @ 2015-07-05 11:09 zfyouxi 阅读(3313) 评论(0) 推荐(0)
摘要: 近期看到一篇博客。大致的意思就是网管将原本混乱不堪的交换机整理整齐了,起初交换机是图2那样的,由于越来用的人越多,操作的人越来越多。终于成为了图1那个样子。这不禁让我想到了项目中的代码。原先在刚上线的时候谈不上是完美的,但它总归是整齐的。可是由于中间人员流动,bug改动等等原因吧,终于的结果就是代码... 阅读全文
posted @ 2015-07-05 10:24 zfyouxi 阅读(725) 评论(0) 推荐(0)
摘要: 1. do...while(0)消除goto语句。通常,假设在一个函数中開始要分配一些资源。然后在中途运行过程中假设遇到错误则退出函数,当然,退出前先释放资源,我们的代码可能是这样:version 1boolExecute(){//分配资源int*p=newint;boolbOk(true);//运... 阅读全文
posted @ 2015-07-05 09:22 zfyouxi 阅读(168) 评论(0) 推荐(0)
摘要: 在C陷阱与缺陷,实现assert什么时候,在这个过程很聪明,化为一个表达式,在当条件为假时就会调用_assert_error报错并终止程序。刚開始_assert_error 的返回值类型是 void 所以在((void)((e) || _assert_error(__FILE__, __LINE__... 阅读全文
posted @ 2015-07-04 21:26 zfyouxi 阅读(338) 评论(0) 推荐(0)
摘要: 我真的很抱歉,每个人,从7带班开始到现在,最后的成品带。到了最新的版本号,Swift语言一直在更新,非常多写法都变了。大家能够加我私人微信:wanghj29,我会在朋友圈更新swift的最新动态。此次更新代码下载地址:SwiftCode_1007另外Xcode6.0.1 和 Xcode6.0GM版本... 阅读全文
posted @ 2015-07-04 19:48 zfyouxi 阅读(275) 评论(0) 推荐(0)
上一页 1 ··· 285 286 287 288 289 290 291 292 293 ··· 527 下一页