个人工作笔记 本次搜索耗时 0.065 秒,为您找到 42 个相关结果.
  • 0.1 获取代码

    4984 2021-05-04 《cmake cookbook》
    0.1 获取代码 0.1 获取代码 本书的源代码可以在GitHub上找到,网址是 https://github.com/dev-cafe/cmake-cookbook 。开源代码遵循MIT许可:只要原始版权和许可声明包含在软件/源代码的任何副本中,可以以任何方式重用和重新混合代码。许可的全文可以在 https://opensource.org/li...
  • gmock_cook_book.md

    4720 2021-05-04 《Google test》
    gMock Cookbook Creating Mock Classes Dealing with unprotected commas Mocking Private or Protected Methods Mocking Overloaded Methods Mocking Class Templates Mocking Non-virtual...
  • 第0章 配置环境

    4704 2021-05-04 《cmake cookbook》
    第0章 配置环境 第0章 配置环境 学习CMake之前,需要对系统进行设置,这样才能运行所有示例。 本章的主要内容有: 如何获取代码 如何在GNU/Linux、macOS和Windows上安装运行示例所需的所有工具 自动化测试如何工作 如何报告问题,并提出改进建议 我们会尽可能让初学者看懂本书的内容。不过,这本书并非完全适合零基础人士。我们假...
  • 第 4 章 容器

    第 4 章 容器 4.1 线性容器 std::array std::forward_list 4.2 无序容器 4.3 元组 元组基本操作 运行期索引 元组合并与遍历 总结 许可 第 4 章 容器 4.1 线性容器 std::array 看到这个容器的时候肯定会出现这样的问题: 为什么要引入 std::array...
  • 第1章 从可执行文件到库

    4453 2021-05-04 《cmake cookbook》
    第1章 从可执行文件到库 第1章 从可执行文件到库 本章的主要内容有: 将单个源码文件编译为可执行文件 切换生成器 构建和连接静态库与动态库 用条件语句控制编译 向用户显示选项 指定编译器 切换构建类型 设置编译器选项 为语言设定标准 使用控制流进行构造 本章的示例将指导您完成构建代码所需的基本任务:编译可执行文件、编译库、根据用户输入执行构建...
  • 第 1 章 迈向现代 C

    第 1 章 迈向现代 C++ 1.1 被弃用的特性 1.2 与 C 的兼容性 进一步阅读的参考文献 许可 第 1 章 迈向现代 C++ 编译环境 :本书将使用 clang++ 作为唯一使用的编译器,同时总是在代码中使用 -std=c++2a 编译标志。 > clang ++ - v Apple LLVM version ...
  • primer.md

    4401 2021-05-04 《Google test》
    Googletest Primer Introduction: Why googletest? Beware of the nomenclature Basic Concepts Assertions Basic Assertions Binary Comparison String Comparison Simple Tests Test ...
  • pipeline

    4112 2021-09-18 《Settings》
    pipeline publisher gitlab pipeline def comments = "" def result = "Great job!" String appendState ( String comments_ , String status ) { return c...
  • 基础

    3091 2022-02-10 《C++ 编程》
    { // Place your snippets for cpp here . Each snippet is defined under a snippet name and has a prefix , body and // description . The prefix is wh...