上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: Tool-CMake-make -j[cpu_num] https://blog.csdn.net/KingOfMyHeart/article/details/105438151 执行make指令效率较低。 使用make -j后面跟一个数字,让make最多允许n个编译命令同时执行,可以更有效的利用C 阅读全文
posted @ 2023-05-09 05:39 Theseus‘Ship 阅读(57) 评论(0) 推荐(0) 编辑
摘要: Book-Linux UNIX 系统编程手册-下册-41章 共享库基础 共享库是一种将库函数打包成一个单元使之能够在运行时被多个进程共享的技术。这种技术能 够节省磁盘空间和RAM。 41.1目标库 构建程序的一种方式是简单地将每一个源文件编译成目标文件,然后将这些目标文件链接在一起组成一个可执行程序 阅读全文
posted @ 2023-05-07 12:05 Theseus‘Ship 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # C++ Primer Plus (第六版) 中文版(部分章节) ### Bjarne Stroustrup's homepage! Bjarne Stroustrup's homepage! https://www.stroustrup.com/ ### 编译和链接 UNIX编译和链接 cc c 阅读全文
posted @ 2023-05-04 07:09 Theseus‘Ship 阅读(48) 评论(0) 推荐(0) 编辑
摘要: Linux/UNIX 系统编程手册-下册(部分章节) 34.1 概述 (进程组、会话和作业控制) 进程组由一个或多个共享同一进程组标识符(PGID)的进程组成。 进程组ID是一个数字,其类型与进程ID一样(pid_t)。 一个进程组拥有一个进程组首进程,该进程是创建该组的进程,其进程ID为该进程组的 阅读全文
posted @ 2023-05-04 07:07 Theseus‘Ship 阅读(83) 评论(0) 推荐(0) 编辑
摘要: Book-Linux/UNIX 系统编程手册-上册(部分章节) Linux专有的编程特性 Linux的广受欢迎只是原因之一,而有时出于性能方面的考虑,或是需要访问标准UNIX编程接口所不支持功能时,使用非标准扩展(正因如此,所有UNIX实现都提供有非标准扩展)就显得至为重要综上所述,在构思本书时,作 阅读全文
posted @ 2023-05-02 06:05 Theseus‘Ship 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(259) 评论(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 阅读(22) 评论(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 阅读(882) 评论(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 阅读(172) 评论(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 阅读(8) 评论(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 阅读(10) 评论(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 阅读(14) 评论(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) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
Live2D