码迷,mamicode.com
首页 >  
搜索关键字:import include 引号 单书名号 objectivec    ( 160216个结果
iOS 富文本
富文本http://pan.baidu.com/s/1pJnY8BL把这里下载的文件夹拖进自己的工程引入头文件#import "OHAttributedLabel.h"#import "OHParagraphStyle.h"#import "OHTouchesGestureRecognizer.h"...
分类:移动开发   时间:2014-05-01 02:28:39    阅读次数:393
C++ writestring 为什么不能写进中文 CStdioFile向无法向文本中写入中文【一】
以下代码文件以CStdioFile向无法向文本中写入中文(用notepad.exe查看不到写入的中文)CStdioFile file;file.Open(…);file.WriteString(_T("abc你好"));//只能写入abc解决办法:使用setlocale语句设定区域#include....
分类:编程语言   时间:2014-05-01 01:18:01    阅读次数:803
linux + ffmpeg + eclipse 调试
使用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
HOOK技术演示
一、首先创建一个dll工程,取名为KeyboardHookDll,代码如下:// KeyboardHookDll.cpp : 定义 DLL 应用程序的导出函数。//#include "stdafx.h"#include using namespace std;#define MYAPI extern...
分类:其他好文   时间:2014-05-01 01:00:28    阅读次数:364
python压缩文件脚本
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
c++: 获取delete[]中的数组大小
看一个小例子: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
【HDOJ】2159 FATE
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
groovy 简单的弹出菜单popupmenu程序
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图像数据后动态显示及保存图片的方法
vc/mfc获取rgb图像数据后动态显示及保存图片的方法该情况可用于视频通信中获取的位图数据回放显示或显示摄像头捕获的本地图像第一种方法#include加载 vfw32.lib 链接库[cpp]view plaincopy//------------------------------设置位图头结构...
分类:其他好文   时间:2014-05-01 00:17:12    阅读次数:499
纯win32实现PNG图片透明窗体
#include#include/*GDI+startuptoken*/ULONG_PTRgdiplusStartupToken;/*DeclareWindowsprocedure*/LRESULTCALLBACKWindowProcedure(HWND,UINT,WPARAM,LPARAM);//...
分类:Windows程序   时间:2014-04-30 23:36:06    阅读次数:742
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!