12 2019 档案

摘要:{ 建议用win32?? 或者 软碟 最好使用win32deskimage 那个 } 阅读全文
posted @ 2019-12-31 18:15 YZFHKMS-X 阅读(188) 评论(0) 推荐(0) 编辑
摘要:{ 工具/原料 BlackArch Linux 64 bit Live ISO 7.5G ISO镜像文件 vmware虚拟化软件 安装前准备 1 这里提一下,官方提供了一个完整的安装文档,地址如下: https://blackarch.org/blackarch-install.html 官方指导文 阅读全文
posted @ 2019-12-31 18:13 YZFHKMS-X 阅读(637) 评论(0) 推荐(0) 编辑
摘要:{ //https://www.disktool.cn/download.html } 阅读全文
posted @ 2019-12-30 21:14 YZFHKMS-X 阅读(214) 评论(0) 推荐(0) 编辑
摘要:{ 用户名:王涛注册码:7C81-1689-4046-626F用户名:累累注册码:4EE9-A156-B015-A70EUltraISO v9.6.0.3000或者9.5.5.2960多国语言版激活KEYRegistration name: HomeRegistration code: 4BA9-0 阅读全文
posted @ 2019-12-30 20:32 YZFHKMS-X 阅读(797) 评论(0) 推荐(0) 编辑
摘要:{ //不建议用这种刻录软件 系统地址:https://www.kali.org/downloads/UUI地址:http://pan.baidu.com/s/1pLDNQP1或者google UItraISO地址:我的资源里或者google我的实践2。1,下载工具Universal-USB-Ins 阅读全文
posted @ 2019-12-30 20:21 YZFHKMS-X 阅读(355) 评论(0) 推荐(0) 编辑
摘要:{ //https://github.com/simdsoft/yasio/releases/tag/v3.30.6 //https://github.com/simdsoft/yasio //https://github.com/wjwwood/serial //https://github.co 阅读全文
posted @ 2019-12-27 17:57 YZFHKMS-X 阅读(149) 评论(0) 推荐(0) 编辑
摘要:{ //https://blog.csdn.net/gulan0/article/details/50373276 } 阅读全文
posted @ 2019-12-25 09:40 YZFHKMS-X 阅读(343) 评论(0) 推荐(0) 编辑
摘要:{ //http://www.alipay-seller.mpymnt.com/node/82 //https://blog.csdn.net/xiaopingping1234567/article/details/48288205 //https://www.quicksdk.com/downlo 阅读全文
posted @ 2019-12-24 14:13 YZFHKMS-X 阅读(238) 评论(0) 推荐(0) 编辑
摘要:SIMPLE: Error computing //cmake 包含的跨平台头文件或者是源文件路径出错 阅读全文
posted @ 2019-12-21 21:50 YZFHKMS-X 阅读(577) 评论(0) 推荐(0) 编辑
摘要:{ //首先有java jdk,android sdk,android ndk //用android studio import //匹配gradle 的版本 有些gradle可能下载不下来,不用慌,改为3.5.1版本的gradle,重新加载项目 //local.gradle 中的ndk路径匹配 / 阅读全文
posted @ 2019-12-19 21:51 YZFHKMS-X 阅读(465) 评论(0) 推荐(0) 编辑
摘要:std::bind() std::bind 主要用于绑定生成目标函数,一般用于生成的回调函数,cocos的回退函数都是通过std::bind和std::function实现的。两个点要明白:1.绑定全局或者静态函数比绑定成员函数少了个成员变量,且不需要引用如下 //绑定全局函数 auto pfunc 阅读全文
posted @ 2019-12-19 13:39 YZFHKMS-X 阅读(2294) 评论(0) 推荐(0) 编辑
摘要:{ /////https://github.com/vieux/OpenUDID /*获取手机(ios,android)的设备唯一码(mac地址, IMEI)2018年02月16日 ⁄ 综合 ⁄ 共 2697字 ⁄ 字号 小 中 大 ⁄ 评论关闭app中总会用到客户端下载量数据统计,一般都是用的设备 阅读全文
posted @ 2019-12-19 13:38 YZFHKMS-X 阅读(3315) 评论(0) 推荐(0) 编辑
摘要:{ //https://docs.cocos2d-x.org/api-ref/index.html //https://docs.cocos.com/cocos2d-x/manual/zh/sprites/ } 阅读全文
posted @ 2019-12-17 19:47 YZFHKMS-X 阅读(180) 评论(0) 推荐(0) 编辑
摘要:{ 1 父线程和子线程中的内存区是不一样的,如果涉及到堆内存应该注意,否则内存异常比无法解析的外部符号还要恐怖 } 阅读全文
posted @ 2019-12-16 22:30 YZFHKMS-X 阅读(432) 评论(0) 推荐(0) 编辑
摘要:{ 编译ASIO库时,出现编译警告, "Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:\n"\ "- add -D_WIN32_WINNT=0x0501 to the compiler command 阅读全文
posted @ 2019-12-16 22:18 YZFHKMS-X 阅读(413) 评论(0) 推荐(0) 编辑
摘要:{ 在子线程种是无法创建纹理的,也就是精灵 } 阅读全文
posted @ 2019-12-16 20:51 YZFHKMS-X 阅读(92) 评论(0) 推荐(0) 编辑
摘要:{ auto layer = Layer::create(); auto event = cocos2d::EventListenerTouchOneByOne::create(); event->onTouchBegan = [=](Touch*, Event*)->bool { this->cr 阅读全文
posted @ 2019-12-16 11:05 YZFHKMS-X 阅读(226) 评论(0) 推荐(0) 编辑
摘要:{ 方式一:使用Android Studio生成1.点击Build->Generate Signed apk,首次点击可能会提示输入操作系统密码 2.弹出如下对话框,还没有生成过keystore ,所以点击Create new,新建keystore 请参照 https://blog.csdn.net 阅读全文
posted @ 2019-12-15 20:04 YZFHKMS-X 阅读(11798) 评论(0) 推荐(0) 编辑
摘要:{ 0. C++ 标准库使用比如vector::push_back 等这类函数时,会对参数的对象进行复制,连数据也会复制.这就会造成对象内存的额外创建, 本来原意 是想把参数push_back进去就行了,通 过std::move,可以避免不必要的拷贝操作。 1. std::move是将对象的状态或者 阅读全文
posted @ 2019-12-15 19:28 YZFHKMS-X 阅读(221) 评论(0) 推荐(0) 编辑
摘要:{ #define CC_CALLBACK_0(__selector__,__target__, ...) std::bind(&__selector__,__target__, ##__VA_ARGS__)#define CC_CALLBACK_1(__selector__,__target__, 阅读全文
posted @ 2019-12-15 19:20 YZFHKMS-X 阅读(269) 评论(0) 推荐(0) 编辑
摘要:{ //https://v.youku.com/v_show/id_XNTIzOTM1MDYw.html } 阅读全文
posted @ 2019-12-15 10:19 YZFHKMS-X 阅读(183) 评论(0) 推荐(0) 编辑
摘要:#ifndef _WIN32 JNIEnv *j = JniHelper::getEnv(); if (j == nullptr || j == NULL) {test += "JNIEnv == NULL";} else { jstring js = j->NewStringUTF(std::st 阅读全文
posted @ 2019-12-13 23:18 YZFHKMS-X 阅读(116) 评论(0) 推荐(0) 编辑
摘要:{ //https://github.com/unicode-org/icu } 阅读全文
posted @ 2019-12-13 15:27 YZFHKMS-X 阅读(108) 评论(0) 推荐(0) 编辑
摘要:{ //https://blog.csdn.net/yuechuzhao/article/details/9283847 } 阅读全文
posted @ 2019-12-13 13:53 YZFHKMS-X 阅读(94) 评论(0) 推荐(0) 编辑
摘要:{ 双击击那个error,那个路径就加上了 File = >local.properties } 阅读全文
posted @ 2019-12-09 10:28 YZFHKMS-X 阅读(128) 评论(0) 推荐(0) 编辑
摘要:{ 将所在的cpp文件改为utf-8 无签名格式再编译 //但,治标不治本 } 阅读全文
posted @ 2019-12-08 23:03 YZFHKMS-X 阅读(139) 评论(0) 推荐(0) 编辑
摘要:{ //http://charette.no-ip.com:81/programming/doxygen/boost/group__async__read.html#gafe3e905a43504bd3446711f9871792e4 } 阅读全文
posted @ 2019-12-08 01:46 YZFHKMS-X 阅读(197) 评论(0) 推荐(0) 编辑
摘要:{ https://gitee.com/tboox https://github.com/thejinchao/cyclone http://www.drchip.org/astronaut/ssl/ https://github.com/chriskohlhoff/asio } 阅读全文
posted @ 2019-12-06 00:32 YZFHKMS-X 阅读(271) 评论(0) 推荐(0) 编辑
摘要:{ cmake .//在当前路径下构建项目cmake --build .//在当前路径下生成项目(默认为debug)//cmake --build . --config release//在当前路径下生成项目(release)# 指定生成目标#以可不指定后缀#add_executable(CMAKE 阅读全文
posted @ 2019-12-05 19:47 YZFHKMS-X 阅读(237) 评论(0) 推荐(0) 编辑
摘要:{ 关于GBK和UTF-8之间的转换,很多初学者会很迷茫。 一般来说GBK和UTF-8是文字的编码方式,其对应的内码是不一样的,所以GBK和UTF-8的转换需要对内码进行一一映射,然后进行转换。 对于一般系统上的工程,一般使用libiconv即可,但是对于嵌入式或手机操作系统,libiconv显得就 阅读全文
posted @ 2019-12-05 15:12 YZFHKMS-X 阅读(8762) 评论(0) 推荐(1) 编辑
摘要:{ str_normalize_init(); unsigned options = SNO_TO_LOWER | SNO_TO_HALF; if (argc > 1) options = atoi(argv[1]); char *buffer = (char *)malloc(65536); me 阅读全文
posted @ 2019-12-05 15:05 YZFHKMS-X 阅读(395) 评论(0) 推荐(0) 编辑
摘要:{ cmake . -G "Visual Studio 15 2017" cmake --build ./ } 阅读全文
posted @ 2019-12-05 10:39 YZFHKMS-X 阅读(775) 评论(0) 推荐(0) 编辑
摘要:{ //https://www.boost.org/users/history/version_1_71_0.html } 阅读全文
posted @ 2019-12-04 00:46 YZFHKMS-X 阅读(174) 评论(0) 推荐(0) 编辑
摘要:值得学习的C/C++语言开源项目 (1)ACE 庞大、复杂,适合大型项目。开源、免费,不依赖第三方库,支持跨平台。 http://www.cs.wustl.edu/~schmidt/ACE.html (2)Asio Asio基于Boost开发的异步IO库,封装了Socket,简化基于socket程序 阅读全文
posted @ 2019-12-03 23:16 YZFHKMS-X 阅读(787) 评论(0) 推荐(0) 编辑
摘要:{ } 阅读全文
posted @ 2019-12-03 16:29 YZFHKMS-X 阅读(111) 评论(0) 推荐(0) 编辑
摘要:{ //cmake CMakeLists.txt -G "Visual Studio 15 2017" } 阅读全文
posted @ 2019-12-03 12:50 YZFHKMS-X 阅读(466) 评论(0) 推荐(0) 编辑
摘要:{ https://www.python.org/downloads/ } 阅读全文
posted @ 2019-12-03 12:02 YZFHKMS-X 阅读(136) 评论(0) 推荐(0) 编辑
摘要:{ http://cocos2d-x.org/download https://github.com/cocos2d/cocos2d-x https://github.com/fusijie/Cocos-Resource } 阅读全文
posted @ 2019-12-03 11:24 YZFHKMS-X 阅读(169) 评论(0) 推荐(0) 编辑
摘要:{ 打开控制面板的命令是:“control” 打开控制面板 命令: rundll32.exe shell32.dll,Control_RunDLL 结果: 显示控制面板窗口。 例子: Call Shell("rundll32.exe shell32.dll,Control_RunDLL") 辅助选项 阅读全文
posted @ 2019-12-03 00:36 YZFHKMS-X 阅读(949) 评论(0) 推荐(0) 编辑
摘要:{ // //16进制转字符串 public static byte[] HexToString(byte[] Str) { string String = Encoding.Default.GetString(Str); byte[] str = new byte[Str.Length / 2]; 阅读全文
posted @ 2019-12-02 11:39 YZFHKMS-X 阅读(8079) 评论(1) 推荐(0) 编辑
摘要:{ int Encryption::HexToStr(char *Hex) { int _0 = 0; int _1 = 0; char buf[2] = { 0 }; if (Hex[0] >= '0' && Hex[0] <= '9') { buf[0] = Hex[0]; _0 = atoi( 阅读全文
posted @ 2019-12-02 11:36 YZFHKMS-X 阅读(6391) 评论(0) 推荐(0) 编辑
摘要:C#调用 非托管C++ dll 传入Stringbuilder、ref string 、 ref char 等都报错,如mscorlib.dll 异常、其他信息: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏 等等,后来发现是dll 生成后一直没更新,放错位置了。。。 = =|| 不过也学习 阅读全文
posted @ 2019-12-01 23:46 YZFHKMS-X 阅读(2482) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示