会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
anjsxz
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
14
下一页
2014年6月24日
*(char **) != char*
摘要: char *myCharacters[3] = { "TomJohn", "George", "Charles Condomine" }; qsort_b(myCharacters, 3, sizeof(char *), ^(const void *l, const void *r) { ...
阅读全文
posted @ 2014-06-24 12:59 anjsxz
阅读(182)
评论(0)
推荐(0)
2014年6月23日
spring 配置文件
摘要: 前面几个与xsi:schemaLocation="1 1 2 2 3 3 4 4",总是成对的后面是文件2. maven-surefire-plugin tr...
阅读全文
posted @ 2014-06-23 20:30 anjsxz
阅读(97)
评论(0)
推荐(0)
IOS7图文混排及高度
摘要: _textView =[UITextView new]; NSString*str =@"是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是是"; NSMutableAttributedString *attributedString = [[NSMutableAtt...
阅读全文
posted @ 2014-06-23 16:17 anjsxz
阅读(830)
评论(0)
推荐(0)
2014年6月22日
maven
摘要: mvn dependency:resolve 下载所有的依赖mvn dependency:sourcesmvn dependency:resolve -Dclassifier=javadoc
阅读全文
posted @ 2014-06-22 13:12 anjsxz
阅读(138)
评论(0)
推荐(0)
2014年6月17日
asio 笔记
摘要: char buf[512]=0 ;string msg ="test body";head_t head = {1234,msg.longth,'1'};memcpy(buf,&head,sizeof(head)); //head struct {int key;int len;char zip;...
阅读全文
posted @ 2014-06-17 13:38 anjsxz
阅读(98)
评论(0)
推荐(0)
2014年6月16日
ios deployment target 由6.0改为7.0、7.1出现找不到c++库
摘要: 原因 object c++ ios7.0/7.1不支持c++ 11,解决办法:C++ Standard Libraryis set tolibstdc++ (GNU c++ standard library)另一个问题:c++库怎样加入ios工程中,不用.mm文件?1.提供一个接口头文件只有不要有c...
阅读全文
posted @ 2014-06-16 10:51 anjsxz
阅读(330)
评论(0)
推荐(0)
2014年6月14日
c++模板学习
摘要: 1 ::max() //调用全域命名空间中定义的max(),而不是std::max()2 非类型模板参数MAXSIZE ,默认值100template class Stack {...};3template class MyClass { typename T::SubType * ptr; //typename 说明subType为T中非静态类型... };4void print...
阅读全文
posted @ 2014-06-14 13:07 anjsxz
阅读(91)
评论(0)
推荐(0)
2014年6月7日
c++对象模型
摘要: c++对象模型保证,main()之前构造出来要用的对象c++中成员函数 不在对象之类,多个对象只有个副本,虚函数会增大大小编译器会在构造函数最前面,插入成员队象构造函数来初始化成员对象,放置vitual table 地址。当一个基类被声明为虚基类后,即使它成为了多继承链路上的公共基类,最后的派生类中也只有它的一个备份初始化列表是安定义时顺序来的,而不是给出的顺序.空类大小为1字节,有成员,就没这...
阅读全文
posted @ 2014-06-07 18:02 anjsxz
阅读(123)
评论(0)
推荐(0)
2014年6月6日
object c
摘要: #import const char *name = class_getName([NSObject class]); printf("%s\n", name);void PrintObjectMethods() {unsigned int count = 0;Method *methods = ...
阅读全文
posted @ 2014-06-06 16:26 anjsxz
阅读(151)
评论(0)
推荐(0)
gcd
摘要: @property (nonatomic) dispatch_semaphore_t semaphore;self.semaphore = dispatch_semaphore_create([self.progressViews count]);dispatch_semaphore_wait(se...
阅读全文
posted @ 2014-06-06 14:56 anjsxz
阅读(232)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
14
下一页
公告