UIProgressView顾名思义用来显示进度的,如音乐,视频的播放进度,和文件的上传下载进度等。下面以一个简单的实例来介绍UIprogressView的使用。@interfaceActivityViewController :UIViewController{ UIProgressView*pr...
分类:
其他 时间:
2015-08-02 15:00:38
收藏:
0 评论:
0 赞:
0 阅读:
198
题目传送门 1 /* 2 DFS:因为一行或一列都只放一个,可以枚举从哪一行开始放,DFS放棋子,同一列只能有一个 3 */ 4 #include 5 #include 6 #include 7 using namespace std; 8 9 char maze[10][10];1...
分类:
其他 时间:
2015-08-02 15:00:28
收藏:
0 评论:
0 赞:
0 阅读:
223
图片画廊 今天分享一个自己实现的jQuery 图片画廊插件。 看一下效果图: 点击图片时: 在线演示地址:http://www.jr93.top/photoGallery/photoGallery.html 使用 使用也是很简单,代码如下: ...
分类:
Web开发 时间:
2015-08-02 15:00:18
收藏:
0 评论:
0 赞:
0 阅读:
278
#import @interface AppDelegate : UIResponder {@public NSInteger timeValue;}@property (strong, nonatomic) UIWindow *window;@end#import "AppDelegate.h"....
分类:
其他 时间:
2015-08-02 15:00:08
收藏:
0 评论:
0 赞:
0 阅读:
307
Easy billiardsTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward think a game of billiards is too long and boring. So he invented a ...
分类:
其他 时间:
2015-08-02 14:59:58
收藏:
0 评论:
0 赞:
0 阅读:
424
有朋友下载了PHP5.3,PHP5.4版本想加载mysql支持的时候发现没有libmysql.dll文件,无法完成mysql配置,其实PHP5.3版本开始,使用mysqlnd库,不再使用libmysql.dll用来访问MySQL数据库,大大提升了PHP的数据库访问性能。且默认支持mysql,无需像l...
分类:
数据库技术 时间:
2015-08-02 14:59:48
收藏:
0 评论:
0 赞:
0 阅读:
497
题目传送门 1 /* 2 贪心:每次把一个丢掉,选择最小的。累加求和,重复n-1次 3 */ 4 /************************************************ 5 Author :Running_Time 6 Created Time :...
分类:
移动平台 时间:
2015-08-02 14:59:38
收藏:
0 评论:
0 赞:
0 阅读:
186
Description:Given two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= ...
分类:
其他 时间:
2015-08-02 14:59:28
收藏:
0 评论:
0 赞:
0 阅读:
138
上一篇中,我简单介绍了下Autofac的使用,有人希望能有个性能上的测试,考虑到有那么多的IOC框架,而主流的有:Castle Windsor、微软企业库中的Unity、Spring.NET、StructureMap、Ninject等等。本篇文章主要针对这些IOC框架编写测试程序。Autofac下载...
分类:
Web开发 时间:
2015-08-02 14:59:18
收藏:
0 评论:
0 赞:
0 阅读:
332
使用autofac 实现依赖注入1.引用 autofac.dll 和 autofac.configuration.dll2.新增接口 IDALusing System;using System.Collections.Generic;using System.Linq;using System.Te...
分类:
其他 时间:
2015-08-02 14:59:08
收藏:
0 评论:
0 赞:
0 阅读:
119
用c++描述了三种子集生成的方式
分类:
编程语言 时间:
2015-08-02 14:58:48
收藏:
0 评论:
0 赞:
0 阅读:
222
项目相关的快捷键Ctrl+Shift+B=生成项目Ctrl+Alt+L=显示SolutionExplorer(解决方案资源管理器)Shift+Alt+C=添加新类Shift+Alt+A=添加新项目到项目编辑相关的键盘快捷键Ctrl+Enter=在当前行插入空行Ctrl+Shift+Enter=在当前...
分类:
其他 时间:
2015-08-02 14:58:38
收藏:
0 评论:
0 赞:
0 阅读:
193
Spark集群处理能力不足需要扩容,如何在现有spark集群中新增新节点?本文以一个实例介绍如何给Spark集群新增一个节点。1. 集群环境现有Spark集群包括3台机器,用户名都是cdahdp,主目录/home/ap/cdahdp,配置是2C8G虚拟机,集群基于yarn架构。 Master:128...
分类:
其他 时间:
2015-08-02 14:58:28
收藏:
0 评论:
0 赞:
0 阅读:
1022
//求两个函数中的较大者的MAX函数#include int main(int argc, const char * argv[]) { printf("input two nimbers\n"); int max(int x,int y); int a, b,c; scanf("%d,%d...
分类:
编程语言 时间:
2015-08-02 14:58:08
收藏:
0 评论:
0 赞:
0 阅读:
294
#include#includetypedef struct _ListNode{ int m_nKey; struct _ListNode *m_pNext;}ListNode;//插入节点void InsertNode(ListNode **plistHead, int val){ ListNo...
分类:
其他 时间:
2015-08-02 14:57:58
收藏:
0 评论:
0 赞:
0 阅读:
186
Given two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s= "rat",t= "car", retur...
分类:
其他 时间:
2015-08-02 14:57:48
收藏:
0 评论:
0 赞:
0 阅读:
158
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 判断奇偶{ class Program { static void Main(string...
分类:
其他 时间:
2015-08-02 14:57:38
收藏:
0 评论:
0 赞:
0 阅读:
189
昨天做练习的时候遇到了margin外边距的问题,给body的子元素div设置了margin-top:50px;为什么div元素没有把body撑开(即div顶部距body拉开50px)???而是div连同body整个被拉下来了,body距离为50px???代码结构如下:html{width: 100%...
分类:
其他 时间:
2015-08-02 14:57:08
收藏:
0 评论:
0 赞:
0 阅读:
212
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 三个数中找最大{ class Program { static void Main(str...
分类:
其他 时间:
2015-08-02 14:56:58
收藏:
0 评论:
0 赞:
0 阅读:
118
上文回顾:定制Eclipse IDE之插件篇(二)该篇将讲述在开发Eclipse 插件过程发生的疑难杂症。不谈功能,只说病症。前言、拿哪个Eclipse作为定制的基础?我建议是你用哪个Eclipse做开发,就使用那个Eclipse作为定制的基础,因为你的插件是在这上面开发的,决对不会出现缺少必要的依...
分类:
系统服务 时间:
2015-08-02 14:56:48
收藏:
0 评论:
0 赞:
0 阅读:
221