// CommonInject.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#include
#include
#include
using namespace std;
#include
#pragma comment(li...
分类:
编程语言 时间:
2014-06-20 13:09:49
阅读次数:
306
原文http://twitter.com/share?url=http%3A%2F%2Fbit.ly%2F1iRy7Gq&via=rwenderlich&text=AirplayTutorial%3A An Apple TV Multiplayer QuizGame&related=gpambrozio&lang=en&count=horizontal&counturl=http%3A%2F%2F...
分类:
移动开发 时间:
2014-06-20 13:09:08
阅读次数:
329
Burn the Linked Camp
It is well known that, in the period of The Three Empires, Liu Bei, the emperor of the Shu Empire, was defeated by Lu Xun, a general of the Wu Empire. The defeat was due to Liu B...
分类:
其他好文 时间:
2014-06-20 12:57:12
阅读次数:
240
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
public class DateUtil {
...
分类:
其他好文 时间:
2014-06-20 11:53:25
阅读次数:
258
上传两张Binder类图,有助于理解Binder进程间通信:...
分类:
移动开发 时间:
2014-06-20 11:32:02
阅读次数:
226
现在,客户端需要根据服务器发来的命令进行动作。在方法 receiveData:fromPeer:inSession:context:末尾加入代码: if ([commandReceived hasPrefix:kCommandQuestion] && !self.isServer) { NSString *answersString = [commandReceived...
分类:
移动开发 时间:
2014-06-20 10:29:29
阅读次数:
259
移动客户端设计开发经验-流程篇
和PC端网站的设计和开发相比,移动客户端的开发工作,对绝大多数人来说,绝对是一个崭新的行当。 那么,当我们每天在iphone上,在各种安卓在各种pad上习以为常的刷着微博看着网文切着西瓜找着你妹的时候,当一大波人信心满怀的开始步入这个看似熟悉,或者说”简单”的工作中后,突然发现,悲催,完全不是那么回事嘛!
相信很大一部分产品或者设计或者开发人员是从之前的传统互联网”出家”过来的,当然,这包括我,还有身边很多很多人。总之,这是一个坑,因为,APP,这个”看上去很简单”的东...
分类:
移动开发 时间:
2014-06-20 10:11:58
阅读次数:
346
32、UIImage+Scale缩放图片UIImage可以加载图片,但是我们想要得到一张缩小或放大的图片,利用UIImage不能做到,下面我们添加一个UIImage的分类,用来实现UIImage中图片的放大和缩小。首先,创建一个UIImage+Scale类。然后,实现该类的方法:#import @interface UIImage (scale)-(UIImage*)scaleToSize:(CG...
分类:
移动开发 时间:
2014-06-20 09:44:31
阅读次数:
408
其他浏览器下点击照片可以正常预览照片,但是IE9下确实显示:点击照片,下载保存照片。而且点击下载或者查看后,无法显示正常的图片。
具体如下:
解决方法步骤:
a、这个图片是个pdf格式的,IE9上面没有打开pdf的软件,需要安装一个Adobe Reader XI
b、安装后可能显示“Access denied”(拒绝访问),这时需要在adobe reader >编...
分类:
其他好文 时间:
2014-06-07 16:31:02
阅读次数:
219
类模板声明
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//通常形式
template typename TypeParam>
class SomeClass
{
//...SomeClass的成员
};
//或者
template typena...
分类:
其他好文 时间:
2014-06-07 14:56:24
阅读次数:
296