码迷,mamicode.com
首页 >  
搜索关键字:void    ( 62627个结果
NSURLSession下载
#import "HMViewController.h"@interface HMViewController () @end@implementation HMViewController- (void)viewDidLoad{ [super viewDidLoad];}// 任务:任何请求...
分类:Web程序   时间:2015-11-21 11:45:08    阅读次数:156
UICollectionView
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // 1.瀑布流 ...
分类:其他好文   时间:2015-11-21 10:32:31    阅读次数:154
【C语言】 实现memmove
内存重叠拷贝函数 #include<stdio.h> #include<assert.h> voidmy_memmove(void*p1,voidconst*p2,size_tcount) { char*dest=(char*)p1; char*src=(char*)p2; assert(p1); assert(p2); if((dest>src)&&(dest<src+count)) { while(count--)..
分类:编程语言   时间:2015-11-21 07:16:26    阅读次数:153
LCS算法改进
public static void Lcs_Length(String X,String Y,int c[][]) { X=" "+X; Y=" "+Y; for(int i=1;i=c[i][j-1]) { c[i][j]=c[i-1][j]; } else ...
分类:编程语言   时间:2015-11-21 00:40:40    阅读次数:258
DFS HDOJ 2181 哈密顿绕行世界问题
题目传送门题意:中文题面分析:直接排完序后DFS.这样的题以后不应该再写题解的.#include using namespace std;vector G[21];int ans[21];int v[3];bool vis[21];int cnt;void print() { printf ("%d...
分类:其他好文   时间:2015-11-20 23:01:48    阅读次数:215
LeetCode OJ:Add and Search Word - Data structure design(增加以及搜索单词)
Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word or a regu...
分类:其他好文   时间:2015-11-20 22:59:27    阅读次数:174
C语言学习 - 0006 行列式乘法
1 #include 2 #include 3 void main() 4 { 5 void read(int* m,int* n); 6 int* ptable(int m,int n); 7 int* math(int m1,int n1,int n2,int* num...
分类:编程语言   时间:2015-11-20 21:48:59    阅读次数:266
大话锦集(四)代理模式-Proxy
概念代理模式为其它对象提供一种代理以控制对这个对象访问。结构图Subject类,定义了RealSubject和Proxy的公共接口,这样就在任何使用RealSubject的地方都可以使用Proxy。class Subject{public: virtual void request() = 0...
分类:其他好文   时间:2015-11-20 21:40:00    阅读次数:170
封装了opencv的旋转图像函数
void ljb_cv_rotate_buf_size(IplImage *imgSrc, double degree, int *w_dst, int *h_dst){ double angle, a, b; int w_src, h_src; angle = de...
分类:其他好文   时间:2015-11-20 21:25:11    阅读次数:181
Layout--iOS
// 系统的约束代码@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; UIView *superView = self.view; UIView *viewDemo = [[UIView allo...
分类:移动开发   时间:2015-11-20 21:23:40    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!