test.h#include #include #include using namespace std;namespace NS_TEST{class Animal{public: std::string Name; int Foot; vector Fil...
分类:
编程语言 时间:
2014-11-21 16:00:02
阅读次数:
142
//NS基本
//MK地图
//CG图形绘制
//AV视音频
//UI视图
//ARC iOS4.2 自动内存管理机制简化内存管理
// iOS iOS(原名:iPhone OS)是由苹果公司为移动设备所开发的操作系统
...
分类:
移动开发 时间:
2014-11-21 10:44:25
阅读次数:
196
function getLocalTime(nS) { return new Date(parseInt(nS)).toLocaleString().replace(/:\d{1,2}$/, ' ').replace("年", '-').replace("月", '-')....
分类:
Web程序 时间:
2014-11-20 11:42:13
阅读次数:
169
//- (void)setBackgroundImage:(UIImage *)backgroundImage forBarMetrics:(UIBarMetrics)barMetrics NS_AVAILABLE_IOS(5_0) UI_APPEARANCE_SELECTOR;-(id)init{...
分类:
移动开发 时间:
2014-11-20 01:23:21
阅读次数:
196
常规配置如下 当超过tableView显示的范围的时候 后面显示的内容将会和前面重复
// 这样配置的话超过页面显示的内容会重复出现
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
// 定义唯一标识
static NS...
分类:
移动开发 时间:
2014-11-18 10:24:08
阅读次数:
510
命名实体识别(Named Entity Recognition)也是自然语言处理中的一个难关,特别是中文这样没有大小写等固定形态的语言。上次介绍过《实战HMM-Viterbi角色标注中国人名识别》,这次基于类似的原理,为HanLP实现中文地址地名(NS)的自动识别。原理训练对熟语料自动角色标注,统计...
分类:
其他好文 时间:
2014-11-17 22:42:38
阅读次数:
197
In order to build the code on ns-3 refer to the following steps:Download ns-3 from http://www.nsnam.org/Install ns-3 by following the instructions in ...
分类:
其他好文 时间:
2014-11-16 09:21:08
阅读次数:
934
ie6支持的png格式图片的实现方法。在title 标题引用这段js文件即可 PNG.js 文件:var PNG = { ns: 'PNG', imgSize: {}, createVmlNameSpace: function() { /* enable VML */ if (document...
分类:
其他好文 时间:
2014-11-14 12:02:46
阅读次数:
143
http://www.1360.cc/ZhanChangJiaoCheng/22851.html
NSMutableAttributedString -> NSAttributedString -> NSObject
----------------------
NSUnderlineStyle
typedef NS_ENUM(NSInteger,
N...
分类:
其他好文 时间:
2014-11-13 16:49:40
阅读次数:
250
先定义一个类PopupLayer
代码PopupLayer.h
#ifndef __crossDT_PopupLayer__
#define __crossDT_PopupLayer__
#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC;
using namespace cocos2d::extension;
c...
分类:
其他好文 时间:
2014-11-13 16:36:10
阅读次数:
352