摘要: C++-std::this_thread::get_id()-获取线程id std::this_thread::get_id() 头文件:<thread> 函数:std::this_thread::get_id() 用例:std::thread::id thread_id = std::this_t 阅读全文
posted @ 2023-04-29 18:42 Theseus‘Ship 阅读(281) 评论(0) 推荐(0) 编辑
摘要: C++-#pargma once https://baike.baidu.com/item/%23pragma%20once/9468158?fr=aladdin #pragma once是一个比较常用的C/C++预处理指令。 只在头文件的最开始加入这条预处理指令,就能够保证头文件只被编译一次。 基 阅读全文
posted @ 2023-04-29 18:32 Theseus‘Ship 阅读(26) 评论(0) 推荐(0) 编辑
摘要: C++-改变终端(cout/printf)输出不同颜色的字体-Linux https://blog.csdn.net/qq_41972382/article/details/90311102 不同颜色的输出主要依据格式ESC[*m,ESC的八进制为\033,*可以是多个属性的组合,用,隔开。 pri 阅读全文
posted @ 2023-04-29 18:18 Theseus‘Ship 阅读(977) 评论(0) 推荐(1) 编辑
摘要: C++-标准异常<exception> std::exception 定义于头文件 <exception> class exception; https://www.apiref.com/cpp-zh/cpp/error/exception.html 标准库头文件 <stdexcept> https 阅读全文
posted @ 2023-04-29 18:03 Theseus‘Ship 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-list https://www.visgraf.impa.br/seminar/slides/rodlima_cmake_presentation.pdf Useful to manage long list of elements Elements can be manip 阅读全文
posted @ 2023-04-29 14:18 Theseus‘Ship 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-Own Finder(-I -L -l)-compiling What is a finder When compiling a piece of software which links to third­party libraries, we need to know: W 阅读全文
posted @ 2023-04-29 13:52 Theseus‘Ship 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-MESSAGE Show status information, warnings or errors MESSAGE( [SEND_ERROR | STATUS | FATAL_ERROR] "message to display" ... ) 阅读全文
posted @ 2023-04-29 13:48 Theseus‘Ship 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-OPTION https://clubjuggler.livejournal.com/138364.html includes a component As an example, consider a project that optionally includes a co 阅读全文
posted @ 2023-04-29 13:26 Theseus‘Ship 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-How CMake simplifies the build process by Bruno Abinader https://gitlab.kitware.com/cmake/community/-/wikis/home https://brunoabinader.gith 阅读全文
posted @ 2023-04-29 12:59 Theseus‘Ship 阅读(15) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-A Simple CMake Example https://cmake.org/examples/ There are three directories involved. The top level directory has two subdirectories cal 阅读全文
posted @ 2023-04-29 10:12 Theseus‘Ship 阅读(16) 评论(0) 推荐(0) 编辑
Live2D