- 博客(18)
- 收藏
- 关注
原创 Thunder for Mac: 迅雷下载记录保存文件etm_task_store.dat.mac的解析 【更新】
【更新】Thunder for Mac: 迅雷下载记录保存文件etm_task_store.dat.mac的解析 如果朋友知道这个文件的结构,求交往!哦,不,交流交流 ~~ :]
2014-01-21 17:08:44 6970 1
转载 How to Use Instruments in Xcode
Link: http://www.raywenderlich.com/23037/how-to-use-instruments-in-xcode 中文翻译版: ios系列教程之用instruments来检验你的app http://blog.csdn.net/hufengvip/article/details/18245827
2014-01-20 17:11:04 906
转载 虚函数和纯虚函数的区别
Link: http://blog.csdn.net/Hackbuteer1/article/details/7558868 首先:强调一个概念 定义一个函数为虚函数,不代表函数为不被实现的函数。 定义他为虚函数是为了允许用基类的指针来调用子类的这个函数。 定义一个函数为纯虚函数,才代表函数没有被实现。 定义纯虚函数是为了实现一个接口,起到一个规范的作用,规范继承这个类的程
2014-01-20 15:30:37 535
转载 24种语言执行外部命令的方法
在这个例子中展示用不同语言调用外部命令的方法。觉得这个挺有意思,转来给大家看看,也许某一天你会觉得有用。 这些语言包括 Ada AppleScript C C++ C# E Forth Haskell IDL J Java Logo MAXScript Objective-C OCaml Perl PHP Pop11 Python Raven R
2014-01-20 11:04:21 590
转载 通过NSTask用Cocoa执行perl脚本
Link: http://blog.csdn.net/love_gaohz/article/details/8153977 本文将用一个例子帮助你理解如何使用NSTask,例子通过在Cocoa中执行一个perl脚本,实现去掉给定NSString中的所有HTML标签。 这里是一个简单的perl脚本,文件名是stripper.pl,功能是去掉所有HT
2014-01-20 10:50:51 1025
转载 csdn 以【源代码】的格式显示所贴的代码
Link: http://blog.csdn.net/love_gaohz/article/details/9667157 方法一. 原理是在你正在编辑的网页的HTML中加入一个HTML段,来专门显示你的代码.用到的标签是. 将CSDN的博客编辑功能中找到【源代码】即图标 这一步就是让你打开你正在编辑blog博客的这个网页的HTML找到你要添加的
2014-01-20 10:43:09 681
转载 C/C++: const常量与define宏定义的区别
Link: http://blog.csdn.net/love_gaohz/article/details/7567856 (1) 编译器处理方式不同 define宏是在预处理阶段展开。 const常量是编译运行阶段使用。 (2) 类型和安全检查不同 define宏没有类型,不做任何类型检查,仅仅是展开。 const常量有具体的类型
2014-01-20 10:36:01 1465 1
转载 mysql常用控制台命令
作者:朱金灿 来源:http://blog.csdn.net/clever101 1.登陆mysql,语法为:mysql -u[用户名] -p[密码],示例:mysql -uroot -p123456 2.创建数据库,语法为:create database [数据库名];示例:create database svnadmin; 3.删除数据库,
2014-01-17 11:19:02 797
转载 TinyXml快速入门
地址:1 http://blog.csdn.net/clever101/article/details/5334369 系列地址: 对于xml文件,目前我的工作只是集中在配置文件和作为简单的信息文件来用,因此我不太喜欢使用msxml这种重量级的xml解析器,特别是使用msxml解析xml涉及到复杂的com类型转换,更是令人感觉繁琐。因此对于简单的xml文
2014-01-17 11:16:13 540
原创 MySQL 和 Oracle 在插入时间类型值的区别
insert into table_name (time) values ( XX ); Oracle: XX = to_date(\'%s\', \'YYYY-MM-DD HH24:MI:SS\') MySQL: XX = date_format(\'%s\', get_format(datetime, \'ISO\')) 其中%s用表示时间的字符串代替
2014-01-17 10:01:45 655
原创 MutiBytes To UTF8
char * MbcsToUTF8(const char *file) { WCHAR *pwchar = 0; CHAR *pchar = 0; int len = 0; int codePage = AreFileApisANSI() ? CP_ACP : CP_OEMCP; len = MultibytesToWideChar(codePa
2014-01-16 17:22:35 1105
原创 NSThread
NSThread *thread = [ [NSThread alloc] initwithTarget: self selector:@selector(XX_Method_Name) object: args]; [thread start]; [thread release]; 。。。。 定义 XX_Method_Name
2014-01-16 14:18:37 572
原创 Polymorphism, Dynamic Typing, and Dynamic Binding
Polymorphism enables programs to be developed so that objects from different classes can define methods that share the same name Dynamic typingdefers the determination of the class that an ob
2014-01-16 12:40:29 926
转载 The run destination My Mac 64-bit is not valid for Running the scheme
The run destination My Mac 64-bit is not valid for Running the scheme 更新Mac系统到Mavericks后打开工程文件后,左边Project Navigator里面一片红色(frameworks); 运行出现上面的弹框提示错误: 解决方案:(翔動聖絃提供) How to change the SDK: 1)
2014-01-09 14:49:58 687
转载 An Example SQLite based iPhone Application
Link:http://www.techotopia.com/index.php/An_Example_SQLite_based_iPhone_Application 1. Creating the Database and Table - (void)viewDidLoad { NSString *docsDir; NSArray *dirPath
2014-01-05 23:37:09 727
原创 GCD实例1
2014/1/3 dispatch_group_t group = dispatch_group_create(); dispatch_queue_t queue = dispatch_queue_create("com.ycz.hc", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_group_async(g
2014-01-03 14:39:51 723
原创 由Clang LLVM 1.0 Error error: -fobjc-arc is not supported with fragile abi说起
好像是过了好久好久,我终于又拾起了老本行: Xcode 在我的老项目中加了两个文件,报错: Clang LLVM 1.0 Error error: -fobjc-arc is not supported with fragile abi 百度之,无;Google之,得到Stack Overflow解答: http://stackoverflow.com/questions/
2014-01-02 15:30:22 1472
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人