在textView中的光标位置插入表情或者文字刚在写项目遇到在textView的光标位置插入表情,则查了查得出结论:方法一:int location= contentText.selectedRange.location;NSString * textStr = contentText.text;N...
分类:
Web程序 时间:
2015-08-25 13:16:50
阅读次数:
276
如何获取进程的PID(process ID)?可以使用:#includepid_tgetpid(void);通过查看头文件说明,可以得到更详细的信息:find/usr/include-nameunistd.h/usr/include/asm/unistd.h/usr/include/bits/uni...
分类:
编程语言 时间:
2015-08-21 15:25:56
阅读次数:
260
网址链接:视频裁剪合并:http://blog.sina.com.cn/s/blog_64ea868501018jx3.html视频之定义裁剪高宽度:http://www.cocoachina.com/bbs/read.php?tid-270444.html视频自定义录制代码:http://pan....
分类:
移动开发 时间:
2015-08-20 20:42:21
阅读次数:
932
1.环境配置主要參考网址:http://cocos2d.cocoachina.com/bbs/forum.php?mod=viewthread&tid=10226&extra=page%3D1&page=2http://www.cocos2d-x.org/projects/cocos2d-x/wik...
分类:
Web程序 时间:
2015-08-20 12:19:35
阅读次数:
157
《使用Cocos2d-x 开发3D游戏》系列在线课程 第三节:3D公告板 视频地址:http://edu.csdn.net/course/detail/1330/20803?auto_start=1 工程下载地址:http://www.firestonegames.com/bbs/forum.php?mod=viewthread&tid=5&page=1&extra=#pid...
分类:
其他好文 时间:
2015-08-19 13:34:17
阅读次数:
227
参考网址:经纬度定位:http://blog.csdn.net/whaomian/article/details/6807739位置解析:http://www.cocoachina.com/bbs/read.php?tid=134893&keyword=%B5%D8%C0%ED%CE%BB%D6%C...
分类:
移动开发 时间:
2015-08-19 00:23:52
阅读次数:
531
建表:帖子表和回复表create table thread(tid int not null auto_increment primary key,username varchar(20) not null default '',title varchar(40) not null default ...
分类:
其他好文 时间:
2015-08-18 18:31:43
阅读次数:
99
证明:$$\sum_{n=2}^\infty\frac{(-1)^n\ln n}{n}=\rho \ln 2-\frac{\ln ^2 2}{2}$$其中$\rho$是Euler常数.转自http://www.math.org.cn/forum.php?mod=viewthread&tid=3209...
分类:
其他好文 时间:
2015-08-18 11:41:47
阅读次数:
172
原帖地址:http://bbs.51cto.com/viewthread.php?tid=875012&extra=&page=11. 4GB的内存条在32位系统中只能显示为3GB左右的原因第一个原因只会“吃掉”您一小部分的内存众所周知,电脑中二进制中的换算关系是 1GB=1024MB,实际生产时,...
分类:
其他好文 时间:
2015-08-15 18:17:17
阅读次数:
200
prepare($sql); $st->bindParam(':title', $title); $st->bindParam(':tid', $tid); $st->bindParam(':mid', $mid); $st->bindParam(':uname', $una...
分类:
其他好文 时间:
2015-08-15 10:20:04
阅读次数:
154