富文本http://pan.baidu.com/s/1pJnY8BL把这里下载的文件夹拖进自己的工程引入头文件#import
"OHAttributedLabel.h"#import "OHParagraphStyle.h"#import
"OHTouchesGestureRecognizer.h"...
分类:
移动开发 时间:
2014-05-01 02:28:39
阅读次数:
393
以下代码文件以CStdioFile向无法向文本中写入中文(用notepad.exe查看不到写入的中文)CStdioFile
file;file.Open(…);file.WriteString(_T("abc你好"));//只能写入abc解决办法:使用setlocale语句设定区域#include....
分类:
编程语言 时间:
2014-05-01 01:18:01
阅读次数:
803
使用linux + ffmpeg + eclipse调试步骤OS : ubuntu
12.04Eclipse : 3.7.2为Eclipse安装cdt插件,使其支持c/c++导入ffmpeg项目File —-> Import —->
c / c++ —-> Existing Code as Make...
分类:
系统相关 时间:
2014-05-01 01:17:00
阅读次数:
754
一、首先创建一个dll工程,取名为KeyboardHookDll,代码如下://
KeyboardHookDll.cpp : 定义 DLL 应用程序的导出函数。//#include "stdafx.h"#include using
namespace std;#define MYAPI extern...
分类:
其他好文 时间:
2014-05-01 01:00:28
阅读次数:
364
zf.py文件"""desc:读取配置文件config.ini压缩sourcepath路径到targetpath
并可以排除不需要压缩的文件excludefiletime:2014/4/30 12:03:42author:ggh"""import zipfile, os,
configpar...
分类:
编程语言 时间:
2014-05-01 00:59:26
阅读次数:
428
看一个小例子:1#include 23using namespace std;45class
A {6public:7A() { cout 23using namespace std;45class A {6public:7A() { cout
<< "A::A()" << endl; }8~A()...
分类:
编程语言 时间:
2014-05-01 00:55:19
阅读次数:
658
DP+贪心优化。 1 #include 2 #include 3 #include 4 5
#define MAXNUM 105 6 7 typedef struct { 8 int exp, deg; 9 } info_st;10 11
info_st infos[MAXNUM]...
分类:
其他好文 时间:
2014-05-01 00:26:21
阅读次数:
330
import groovy.swing.* import javax.swing.* import
java.awt.* def swing = new
SwingBuilder()swing.frame(title:"hello",show:true){ panel() { def mm=swi....
分类:
其他好文 时间:
2014-05-01 00:20:13
阅读次数:
342
vc/mfc获取rgb图像数据后动态显示及保存图片的方法该情况可用于视频通信中获取的位图数据回放显示或显示摄像头捕获的本地图像第一种方法#include加载
vfw32.lib 链接库[cpp]view plaincopy//------------------------------设置位图头结构...
分类:
其他好文 时间:
2014-05-01 00:17:12
阅读次数:
499
#include#include/*GDI+startuptoken*/ULONG_PTRgdiplusStartupToken;/*DeclareWindowsprocedure*/LRESULTCALLBACKWindowProcedure(HWND,UINT,WPARAM,LPARAM);//...