Fork me on GitHub
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 125 下一页

2016年3月28日

摘要: 转自:http://blog.chinaunix.net/uid-26729065-id-3366804.html 二、头文件的结构 规则: (1)文件开头的版权和版本信息 (2)预处理块 (3)函数和类结构声明等 建议:1.头文件中只出现声明不出现定义 2.不建议使用全局变量。即使用extern 阅读全文
posted @ 2016-03-28 13:33 pengyingh 阅读(240) 评论(0) 推荐(0)

2016年3月22日

摘要: 转自:http://www.cnblogs.com/ayseeing/p/4097066.html mac下默认是没有 tree命令的,不过我们可以使用find命令模拟出tree命令的效果,如显示当前目录的 tree 的命令: 当然你也可以写一个别名来快速执行该命令,运行如下命令,将上面这个命令写到 阅读全文
posted @ 2016-03-22 18:06 pengyingh 阅读(2703) 评论(0) 推荐(0)
摘要: https://coolestguidesontheplanet.com/installing-homebrew-os-x-yosemite-10-10-package-manager-unix-apps/ The easiest way to install various Unix tools 阅读全文
posted @ 2016-03-22 17:55 pengyingh 阅读(328) 评论(0) 推荐(0)
摘要: 转:http://stackoverflow.com/questions/16931770/makefile4-missing-separator-stop makefile has a very stupid relation with tabs , all actions of every ru 阅读全文
posted @ 2016-03-22 16:42 pengyingh 阅读(615) 评论(0) 推荐(0)

2016年3月21日

摘要: 转自:http://www.kuqin.com/shuoit/20150225/344882.html 代码变成可执行文件,叫做编译(compile);先编译这个,还是先编译那个(即编译的安排),叫做构建(build)。 Make是最常用的构建工具,诞生于1977年,主要用于C语言的项目。但是实际上 阅读全文
posted @ 2016-03-21 15:22 pengyingh 阅读(1207) 评论(0) 推荐(0)
摘要: 1 -o is the letter O not zero NewFileName will be your executable file OldFileName.cpp is your c++ file After you run that command type the following 阅读全文
posted @ 2016-03-21 11:46 pengyingh 阅读(427) 评论(0) 推荐(0)
摘要: url link:http://stackoverflow.com/questions/221185/how-to-run-c-c-in-a-unix-console-mac-terminal All application execution in a Unix (Linux, MacOS X, 阅读全文
posted @ 2016-03-21 11:31 pengyingh 阅读(206) 评论(0) 推荐(0)

2016年2月25日

摘要: http://qa.helplib.com/874184 给定一个, 该变量来保存字符串在python中, 有快速转换到另一个原始str变量的方法吗? 下面的代码应该阐明im后- - def checkEqual(x, y): print True if x==y else False line1 阅读全文
posted @ 2016-02-25 17:53 pengyingh 阅读(2445) 评论(0) 推荐(0)

2016年2月24日

摘要: simple method: sudo easy_install pip you have done!and can install the other py programs using pip eg. sudo pip install openpyxl the other method: ope 阅读全文
posted @ 2016-02-24 13:48 pengyingh 阅读(581) 评论(0) 推荐(0)

2015年10月30日

摘要: 1 jin/Android.mk 中LOCAL_SRC_FILES 链接的是runtime-src/Classes中的cpp文件2jin/Android.mk 若LOCAL_LDLIBS := -landroid -llog 则Eclips可看到cocos2d.o的编译信息,编译速度较慢3 sdk的... 阅读全文
posted @ 2015-10-30 15:13 pengyingh 阅读(975) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 125 下一页

导航