知行合一

享受过程 漠视结果

导航

04 2015 档案

c 数据拼接
摘要:char buf1[] = {0x31,0x32,0x33,0x00,0x51,0x52,0x53,0xaa,0xbb,0xcc,0x00}; int a=0xabcd6799; int b=0x88991122; int d=0x12345678; int c=si... 阅读全文

posted @ 2015-04-16 16:14 项羽 阅读(352) 评论(0) 推荐(0)

fopen的type的值的意思
摘要:┌──┬────┬───────┬────────┐│type│读写性│文本/2进制文件│建新/打开旧文件│├──┼────┼───────┼────────┤│r│读│文本│打开旧的文件││w│写│文本│建新文件││a│添加│文本│有就打开无则建新││r+│读/写│不限制│打开││w+│读/写... 阅读全文

posted @ 2015-04-16 13:21 项羽 阅读(197) 评论(0) 推荐(0)

解决error: only position independent executables (PIE) are supported
摘要:在Android.mk文件中添加以下内容LOCAL_CFLAGS += -pie -fPIELOCAL_LDFLAGS += -pie -fPIE原帖地址:http://blog.csdn.net/hxdanya/article/details/39371759 阅读全文

posted @ 2015-04-08 15:16 项羽 阅读(5498) 评论(0) 推荐(0)