文章分类 -  C++

Android NDK Crash 定位分析
摘要:Android NDK Crash 定位分析 NDK crash栈信息的错误定位 Android NDK开发Crash错误定位 阅读全文

posted @ 2022-02-07 12:57 ZhYQ_note 阅读(35) 评论(0) 推荐(0) 编辑

"undefined reference to XXX"问题总结
摘要:原文地址 https://github.com/Captain1986/CaptainBlackboard/blob/master/D%230001-undefined_reference_to_XXX/D%230001.md 阅读全文

posted @ 2022-01-07 10:42 ZhYQ_note 阅读(24) 评论(0) 推荐(0) 编辑

to_string is not a member of std
摘要:https://blog.zengrong.net/post/std-to-string-in-ndk/ 现象 cocos2d-x 2.2.6 项目的源码中使用了 std::to_string() 方法,使用 NDK r9d 编译的时候,报如下错误: 1error: 'to_string' is n 阅读全文

posted @ 2021-10-08 10:47 ZhYQ_note 阅读(566) 评论(0) 推荐(0) 编辑

arm neon vs intel sse 知识普及
摘要:一、 SIMD 技术简述 传统的通用处理器都是标量处理器,一条指令执行只得到一个数据结果。但对于图像、信号处理等应用,存在大量的数据并行性计算操作,这个时候,提高数据的并行性从而提高运算的性能就显得尤为重要。因此,SIMD 技术应运而生。 SIMD 的英文全称是 Single Instruction 阅读全文

posted @ 2021-09-29 10:54 ZhYQ_note 阅读(1998) 评论(0) 推荐(0) 编辑

##CMake跨平台编译
摘要:CMake跨平台编译 参考: 一、 "使用CMake编译跨平台静态库" 实例: "https://github.com/zilongshanren/Box2D cocos2d x/blob/master/Box2D/build_android.sh L33" 二、 "用cmake交叉编译到iOS和A 阅读全文

posted @ 2017-05-04 14:09 ZhYQ_note 阅读(150) 评论(0) 推荐(0) 编辑

##cocos2dx - Reference to 'Point' is ambiguous
摘要:cocos2dx Reference to 'Point' is ambiguous 原因: Showing Recent Messages /Users/staff/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.p 阅读全文

posted @ 2017-03-24 13:20 ZhYQ_note 阅读(1546) 评论(0) 推荐(0) 编辑

#unicode Emoji 编码网络参考资料
摘要:unicode Emoji 编码网络参考资料 1. "emoji表情简介" 2. "ios emoji unicode utf8 utf16 编码表" 3. "字符编码笔记:ASCII,Unicode和UTF 8" 4. " 彻底搞懂字符编码(unicode,mbcs,utf 8,utf 16,ut 阅读全文

posted @ 2017-02-21 15:42 ZhYQ_note 阅读(559) 评论(0) 推荐(0) 编辑

##UUID
摘要:UUID "1. http://www.jianshu.com/p/d77f3ef0868a" "2. C++实现" "3. js实现http://www.cnblogs.com/snandy/p/3261754.html" "4. js实现" 阅读全文

posted @ 2017-02-21 15:20 ZhYQ_note 阅读(191) 评论(0) 推荐(0) 编辑

最透彻的关于“随机数种子”和“伪随机数”的产生原理
摘要:原文地址:http://blog.csdn.net/xzp7772009/article/details/7849030 总之: 1.伪随机数并不是假随机数,这里的“伪”是有规律的意思,就是计算机产生的伪随机数既是随机的又是有规律的。 2.随机种子来自系统时钟,确切地说,是来自计算机主板上的定时/计 阅读全文

posted @ 2017-02-21 15:06 ZhYQ_note 阅读(1809) 评论(0) 推荐(0) 编辑

no member named clock_t in the global namespace
摘要:今天在使用fmt第三方库的时候[https://github.com/fmtlib/fmt/issues/324](https://github.com/fmtlib/fmt/issues/324) 遇到一个问题fmtlib no member named clock_t in the global namespace,原因I can't use fmtlib 3.0.0 because o... 阅读全文

posted @ 2016-11-25 10:07 ZhYQ_note 阅读(785) 评论(0) 推荐(0) 编辑

Xcode编译错误 no member named 'clock_t' int he global namespace
摘要:原文地址:http://blog.csdn.net/colorapp/article/details/17963169 今天需要把ffmpeg库合入工程项目中,结果遇到一个很奇怪的问题,单独的工程可以完美运行,但是合入到我们的主项目时,缺一直报错。。。这个问题非常郁闷,测试了半天,各种添加头文件库文 阅读全文

posted @ 2016-11-24 20:43 ZhYQ_note 阅读(1043) 评论(0) 推荐(0) 编辑

C++中多线程与Singleton的那些事儿
摘要:原文地址:http://www.cnblogs.com/liyuan989/p/4264889.html C++中多线程与Singleton的那些事儿 2015-01-31 23:06 by origins, 1878 阅读, 8 评论, 收藏, 编辑 前言 前段时间在网上看到了个的面试题,大概意思 阅读全文

posted @ 2016-11-22 15:11 ZhYQ_note 阅读(553) 评论(0) 推荐(0) 编辑

C++11中的日期和时间库
摘要:原文地址:http://www.nljb.net/default/C%2B%2B11%E4%B8%AD%E7%9A%84%E6%97%A5%E6%9C%9F%E5%92%8C%E6%97%B6%E9%97%B4%E5%BA%93/ C++11中的日期和时间库 C++11供给了日期时候相干的库chro 阅读全文

posted @ 2016-11-22 15:05 ZhYQ_note 阅读(666) 评论(0) 推荐(0) 编辑

std::string 扩展
摘要:std::string 扩展 C++ 中std::string 是常使用的字符串类,但是类本身提供的功能有限,需要做一些扩展,下面是我网上找的扩展,我们可以借鉴使用: 1. "https://github.com/dimpleok/ExtendedString" 2. "https://github 阅读全文

posted @ 2016-11-21 13:13 ZhYQ_note 阅读(313) 评论(0) 推荐(0) 编辑

RVO V.S. std::move 返回值优化和std::move
摘要:RVO V.S. std::move 返回值优化和std::move 今天看到了std::move右值的使用,又想到函数返回值的时候有个临时变量的拷贝,于是就想到 为什么返回的时候不用std::move,那样不是避免了临时对象吗?想到这里我就查了一些资料,找到了 一个RVO(Return Value 阅读全文

posted @ 2016-11-10 16:05 ZhYQ_note 阅读(569) 评论(0) 推荐(0) 编辑

C++ limits头文件的用法(numeric_limits)
摘要:参看网址: http://7097095.blog.51cto.com/7087095/1227319 http://en.cppreference.com/w/cpp/types/numeric_limits 阅读全文

posted @ 2016-11-09 11:10 ZhYQ_note 阅读(394) 评论(0) 推荐(0) 编辑

std::string::find_last_of 获取文件名
摘要:std::string::find_last_of 获取文件名 // string::find_last_of include // std::cout include // std::string include // std::size_t void SplitFilename (const s 阅读全文

posted @ 2016-11-07 16:04 ZhYQ_note 阅读(3064) 评论(0) 推荐(0) 编辑

C++头文件,预处理详解
摘要:原文地址:http://www.cnblogs.com/lulipro/p/5976601.html C++头文件,预处理详解 C++遵循先定义,后使用的原则。就拿函数的使用来举例吧。 我看过有些人喜欢这样写函数。 #include<iostream> using namespace std; in 阅读全文

posted @ 2016-10-20 16:37 ZhYQ_note 阅读(337) 评论(0) 推荐(0) 编辑

A star PathFinder
摘要:1、 http://www.redblobgames.com/pathfinding/a-star/introduction.html 2、 http://www.redblobgames.com/pathfinding/a-star/implementation.html 3、 http://bl 阅读全文

posted @ 2016-07-27 20:20 ZhYQ_note 阅读(167) 评论(0) 推荐(0) 编辑

C++类构造函数初始化列表
摘要:原味地址: http://www.cnblogs.com/BlueTzar/articles/1223169.html 构造函数初始化列表以一个冒号开始,接着是以逗号分隔的数据成员列表,每个数据成员后面跟一个放在括号中的初始化式。例如: class CExample {public: int a; 阅读全文

posted @ 2016-07-18 14:47 ZhYQ_note 阅读(114) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示