#import "ViewController.h"@interface ViewController ()@end@implementation ViewController#pragma mark 用代码添加按钮// 系统默认程序开始时就加载此方法- (void)viewDidLoad{ [s....
分类:
移动开发 时间:
2015-07-28 00:40:19
阅读次数:
170
添加AVFoundation.framework库文件1 #import 2 3 @interface AppDelegate : UIResponder 4 5 @property (strong, nonatomic) UIWindow *window;6 7 8 @end 1 #import ...
分类:
其他好文 时间:
2015-07-27 22:51:14
阅读次数:
127
1. 自适应宽高:2. 设置禁止自动更新: 菜单栏:高级->配置->应用程序布局->其他 取消勾选“自动检查更新”3. 鼠标放上去显示内容: 百度 4. SSDB中scan key_start key_end limit ,key_start 和 key_end 是指字母的顺序,不是数字。
分类:
其他好文 时间:
2015-07-27 22:47:49
阅读次数:
107
??
window - Preferences - Run/Debug - Console
将 Console buffer size (characters)设置大一点...
分类:
其他好文 时间:
2015-07-27 18:57:57
阅读次数:
112
头文件/************************* 交换排序**************************///冒泡排序void BubbleSort(vector &v,int begin,int end);//快速排序void QuickSort(vector & v...
分类:
编程语言 时间:
2015-07-27 18:10:09
阅读次数:
150
1、setTimeOut和setInterval/* 安排函数f(),作为未来调用的模式 在等待了若干毫秒后调用f() 如果函数参数没有interval,则只调用f()一次 如果函数参数设置interval,没有设置end,则会调用f()不会停止 如果函数参数设置int...
分类:
编程语言 时间:
2015-07-27 16:11:30
阅读次数:
132
stl的操作不是很熟练,记录一下1.vector:排序:sort(vc.begin(),vc.end());去重: sort(vc.begin(),vc.end());num.erase(unique(vc.begin(),vc.end()),vc.end());
分类:
其他好文 时间:
2015-07-27 14:55:19
阅读次数:
108
#include#include#include#include#includeusing namespace std;int dp[100][100],pre[100];const int tmin=999999999;int maxflow;void EK(int start,int end,i...
分类:
编程语言 时间:
2015-07-27 12:36:52
阅读次数:
152
现有数据如下:Sql:select a.MODELID, max( case a.PNAME when'计划开始' then a.PVALUE end) as RStart, max( case a.PNAME when '计划结束' then a.PVALUE end) ...
分类:
数据库 时间:
2015-07-27 10:58:54
阅读次数:
165
这篇笔记暂时只是一部分,后续的部分会慢慢贴出来。有错误之处还望大神指教1,容器(1)vector vector要求的头文件包含,实际的实现是在中。 vector的初始化方式: 1,直接初始化空: vector():start(0),end(0),end_of_storage(0){}; ...
分类:
其他好文 时间:
2015-07-27 00:01:56
阅读次数:
118