#import @interface UIView (Responser) /** view的第一个响应控制器 @return view的第一个响应控制器 */ - (UIViewController *)viewController; @end #import "UIView+Responser.... ...
分类:
其他好文 时间:
2017-10-09 09:49:28
阅读次数:
158
java中string和int的相互转换 int -> String int i=12345;String s="";核心:s=i+""; String -> int s="12345";int i;核心:i=Integer.parseInt(s); 以下参考: java中string和int互相转 ...
分类:
编程语言 时间:
2017-10-09 09:48:23
阅读次数:
183
本文从介绍基础概念入手,探讨了在C/C++中对日期和时间操作所用到的数据结构和函数,并对计时、时间的获取、时间的计算和显示格式等方面进行了阐述。本文还通过大量的实例向你展示了time.h头文件中声明的各种函数和数据结构的详细使用方法。 关键字:UTC(世界标准时间),Calendar Time(日历 ...
分类:
编程语言 时间:
2017-10-09 00:37:23
阅读次数:
236
django中请求处理方式有2种:FBV 和 CBV 一、FBV FBV(function-based views) 就是在视图里使用函数处理请求。 urls.py views.py 注意此处定义的是函数【def index(request):】 index.html 上面就是FBV的使用。 二、C ...
分类:
其他好文 时间:
2017-10-09 00:31:34
阅读次数:
169
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example:Given the below binary tree and sum ...
分类:
其他好文 时间:
2017-10-09 00:26:27
阅读次数:
180
#include #include #include #include using namespace std; int n,m,a[2005][2005],num; int head[500005],to[500005],next[500005]; bool used[500005],match[... ...
分类:
其他好文 时间:
2017-10-08 22:41:23
阅读次数:
151
这章介绍了与CUDA设备相关的参数,并给出了了若干用于查询参数的函数。 章节代码(已合并): 在我的电脑上程序输出: Count of CUDA devices: 1ID of current CUDA device: 0Name the CUDA device: GeForce GTX 1070I ...
分类:
其他好文 时间:
2017-10-08 22:41:04
阅读次数:
214
POJ3126:Prime Path kuangbin专题一:F题 Description The ministers of the cabinet were quite upset by the message from the Chief of Security stating that the ...
分类:
其他好文 时间:
2017-10-08 21:22:46
阅读次数:
288
是本来想今天写下后缀数组,谁知明天要交高数作业,还有大物视频,英语视频blablabla。。。 赶啊。。。。然后忍不住写了两个kmp水题 每天都要进步 ...
分类:
其他好文 时间:
2017-10-08 19:41:29
阅读次数:
187
很早就想写这么一篇文章来对近几年使用Prism框架来设计软件来做一次深入的分析了,但直到最近才开始整理,说到软件系统的设计这里面有太多的学问,只有经过大量的探索才能够设计出好的软件产品,就本人的理解,一个好的软件必须有良好的设计,这其中包括:易阅读、易扩展、低耦合、模块化等等,如果你想设计一个好的系 ...
分类:
其他好文 时间:
2017-10-08 18:08:58
阅读次数:
146