页首Html代码

返回顶部
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页
摘要: 使用unity3D开发的一个客户端,需要导出为Android工程,然后接入一些第三方android SDK。unity版本操作系统为:OS 名称: Microsoft Windows 7 旗舰版OS 版本: 6.1.7601 Service Pack 1 Buil... 阅读全文
posted @ 2014-05-12 19:20 ayanmw 阅读(5385) 评论(0) 推荐(0) 编辑
摘要: 在微信开放平台,申请移动应用的时候:https://open.weixin.qq.com/cgi-bin/appcreate?t=manage/createMobile&type=app&lang=zh_CN&token=60682ddfbd9106b1c4b1f9d70f56c98e5f72890... 阅读全文
posted @ 2014-05-11 15:58 ayanmw 阅读(136666) 评论(1) 推荐(0) 编辑
摘要: 一个android apk的编译过程 请参考:http://www.2cto.com/kf/201312/261475.html典型的编译过程:aapt( Android Asset Packaging Tool): 把你的应用程序资源文件(例如: AndroidManifest.xml file ... 阅读全文
posted @ 2014-05-10 18:16 ayanmw 阅读(28476) 评论(0) 推荐(2) 编辑
摘要: MySQL触发器 重要学习资料:http://dev.mysql.com/doc/refman/5.1/zh/triggers.html在使用触发器的时候,遇到一个错误:[SQL]insert into tb_recharge_records(user_id,pointcoupon_added) v... 阅读全文
posted @ 2014-05-05 18:49 ayanmw 阅读(4179) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-04-26 20:50 ayanmw 阅读(0) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;typedef unsigned char BYTE;typedef unsigned int UINT32;typedef unsigned short UINT16;struct Datastru... 阅读全文
posted @ 2014-04-21 15:12 ayanmw 阅读(2609) 评论(2) 推荐(0) 编辑
摘要: 废话不多说,直接看代码:#includeint main(){ int i=5; for(int z=i,zmax=i+10;z<zmax;z++){ printf("i=%d z=%d\n",i,z);i++; } /* 无限循环了.... fo... 阅读全文
posted @ 2014-04-15 14:10 ayanmw 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: 遇到过几次错误,通过gdb来查看错误对战,发现错误居然是atoi调用出错,除非atoi(NULL) 才会报这种错误.说明 row[0]==NULL.(gdb) bt#0 0x00007f82c6629132 in ____strtoll_l_internal () from /lib64/libc.so.6#1 0x00007f82c6625ee0 in atoi () from /lib64/libc.so.6#2 0x0000000000438c7b in MySQL_Util::select_one ( sql_string=0x7f82c4544190 "select su. 阅读全文
posted @ 2014-04-07 15:14 ayanmw 阅读(966) 评论(0) 推荐(0) 编辑
摘要: vim粘贴代码 如果有注释,那么粘贴后就惨不忍睹,类似于:我粘贴代码到a.cpp,内容为://打印函数void print_hex(const unsigned char*data,int length,int radix=16){ for(int i=0;i这样直接在插入模式按F9就会在“-- 插入 --”模式和“-- 插入(粘贴) --”模式中切换探秘:最近使用Vim来写博客,发现在Vim中粘贴Python代码后,缩进就全乱了。仔细研究了以下,原来是自动缩进的缘故,于是做如下设置::set noai nosi 取消了自动缩进和智能缩进,这样粘贴就不会错行了。但在有的vim中不行,还是... 阅读全文
posted @ 2014-04-04 14:55 ayanmw 阅读(18475) 评论(1) 推荐(2) 编辑
摘要: 转载自:http://blog.csdn.net/daydreamingboy/article/details/6310907分析MySQL数据类型的长度 MySQL有几种数据类型可以限制类型的"长度",有CHAR(Length)、VARCHAR(Length)、TINYINT(Length)、SMALLINT(Length)、MEDIUMINT(Length)、INT(Length)、BIGINT(Length)、FLOAT(Length, Decimals)、DOUBLE(Length, Decimals)和DECIMAL(Length, Decimals)。 然而,这 阅读全文
posted @ 2014-04-02 15:37 ayanmw 阅读(21237) 评论(0) 推荐(1) 编辑
摘要: »版权所有:《菜鸟Thinkman的个人网站》 → 《对于孩子:旅行的意义何在?【转】》;»本文网址:http://www.ithinkman.net/index.php?post=42;»除特别标注,本博客所有文章均为原创. 互联分享,尊重版权,转载请以链接形式标明本文地址;Thinkman发表于 2014-1-3 22:10 Friday育儿与成长一位带孩子旅行家长的随笔:Pony4岁时,我们第一次带他出门远行,到海南三亚。从此,我们带孩子旅行的脚步再没有停止:5岁进贵州;6岁上草原;7岁游遍瑞士四大语区;不到8岁乘房车从中国云南出发行驶5000公里历时18天 阅读全文
posted @ 2014-04-01 17:41 ayanmw 阅读(388) 评论(0) 推荐(0) 编辑
摘要: http://baike.baidu.com/view/1080853.htm随便一查,就可以查到基本用法,但是。。。http://blog.csdn.net/maocl1983/article/details/6221810如果有两个localtime调用time_ttNow=time(NULL);time_ttEnd=tNow+1800;//注意下面两行的区别structtm*ptm=localtime(&tNow);structtm*ptmEnd=localtime(&tEnd);ptm和ptmEnd会指向同一内存,那么结果会是一样的,这一点,除了官方 英文呢 文档 和提 阅读全文
posted @ 2014-01-20 15:29 ayanmw 阅读(8815) 评论(0) 推荐(0) 编辑
摘要: 这是一个填空题:#include#include#includeusing namespace std;int get_bit_count_1(int num){ if(num==0){ return 0; }else{ return 【 】; }}int get_bit_count_2(int num){ // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 int dic[]={0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4}; return dic[(num... 阅读全文
posted @ 2013-12-27 14:16 ayanmw 阅读(1279) 评论(2) 推荐(1) 编辑
摘要: 需求:数据库取出的字段类似于 "1,3,4"然后用数字处理后,,比如 "1,2,3" 再存回去#include#includeclass MyStr{public: //根据 "1,2,3" 获得数字数组 static int *split(char * str,const char *split,const int count){ if(strlen(str)==0 || strlen(split)==0) return NULL; if(count <=1) return NULL; int * ints=new ... 阅读全文
posted @ 2013-12-20 20:13 ayanmw 阅读(7322) 评论(2) 推荐(0) 编辑
摘要: 由于windows server 2008 R2 安装了 远程桌面角色,但是这个角色是120天免费的,需要购买授权的【可恶的微软,多用户登录,都要收钱。对于unix来说,多用户是很普通的系统功能】解决方法是取消这个角色,就可以恢复正常的远程了。现在无法远程,提示这个错误,怎么才能登陆,取消角色呢?mstsc /v:IP /admin这样就可以登陆了。然后再把远程桌面 角色删除,重启计算机,OK done!资料:百度http://hi.baidu.com/yuanyang203/item/269f0b5ff95bba4c4eff20c4 阅读全文
posted @ 2013-12-18 18:45 ayanmw 阅读(91765) 评论(1) 推荐(1) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 21 下一页

页脚Html代码