上一页 1 2 3 4 5 6 7 ··· 12 下一页
  2014年9月16日
摘要: #include #include #include #ifdef NOT_EMULATOR#define TAG "for_test"#include #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__... 阅读全文
posted @ 2014-09-16 17:17 snowdrop 阅读(956) 评论(0) 推荐(0) 编辑
  2014年8月20日
摘要: 1.在Android.mk中定义一个ENGload时的flagAndroid.mk....ifeq ($(TARGET_BUILD_VARIANT),eng)//user,userdebug. LOCAL_CFLAGS += -D__ENG_LOADendif在code中:#if defined... 阅读全文
posted @ 2014-08-20 10:48 snowdrop 阅读(286) 评论(0) 推荐(0) 编辑
  2014年8月4日
摘要: #includeint fun( int n) { static int f = 1; f = f * n; return f;}void main() { int i; for (i = 1; i <= 5; i++) printf("fun(%d)=%... 阅读全文
posted @ 2014-08-04 21:09 snowdrop 阅读(160) 评论(0) 推荐(0) 编辑
  2014年7月25日
摘要: 用宏定义定义一个方法,不用再对SFunc进行定义了,可以(在main中)直接call#ifdef sDebug #define SFunc(a) func(a)#else #define SFunc(a)#endif//#ifndef myFunvoid func(int a){ ... 阅读全文
posted @ 2014-07-25 16:15 snowdrop 阅读(389) 评论(0) 推荐(0) 编辑
  2014年7月3日
该文被密码保护。 阅读全文
posted @ 2014-07-03 17:46 snowdrop 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 下载Android封装的eclipse之后,发现Unhandled event loop exception ,网上搜了很多办法,包括百度杀毒,配置init文件等都不行,直到下面。http://stevex.blog.51cto.com/4300375/994544我把eclipse发送快捷键到桌面... 阅读全文
posted @ 2014-07-03 11:18 snowdrop 阅读(154) 评论(0) 推荐(0) 编辑
  2014年6月12日
摘要: 1.txt内容是int类型#include int main() { int a[3][3]; int i, j; FILE* fp = fopen("d:\\a.txt", "r"); if (fp == NULL) { printf("无文件"); ... 阅读全文
posted @ 2014-06-12 17:31 snowdrop 阅读(1551) 评论(0) 推荐(0) 编辑
  2014年5月27日
摘要: //Android.mkLOCAL_SHARED_LIBRARIES := \ libz\ libcutils \ libutils//C file#define TAG "skia_png"#include #define LOGD(...) __android_log_pri... 阅读全文
posted @ 2014-05-27 14:22 snowdrop 阅读(481) 评论(0) 推荐(0) 编辑
  2014年5月26日
摘要: 1.修改Android.mk文件在mk中所有的LOCAL_SHARED_LIBRARIES地方添加LOCAL_SHARED_LIBRARIES:=\libcutils\libutils2.在c中添加:#include #include #include #include #define NE_FOL... 阅读全文
posted @ 2014-05-26 17:41 snowdrop 阅读(663) 评论(0) 推荐(0) 编辑
  2014年4月2日
摘要: package com.example.grayalphatranstest;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java... 阅读全文
posted @ 2014-04-02 10:13 snowdrop 阅读(1687) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页