# 参考资源 ## 官方资源 - [C++ Reference](https://en.cppreference.com/) - 最权威的 C++ 在线参考文档 - [ISO C++](https://isocpp.org/) - C++ 标准委员会官方网站 - [C++ Core Guidelines](https://isocpp.github.io/CppCoreGuidelines/) - C++ 核心指南 ## 在线工具 - [Compiler Explorer (Godbolt)](https://godbolt.org/) - 在线查看编译器生成的汇编代码 - [Quick Bench](https://quick-bench.com/) - 在线 C++ 性能基准测试 - [C++ Insights](https://cppinsights.io/) - 查看编译器如何展开代码 - [Wandbox](https://wandbox.org/) - 在线编译运行 C++ 代码 ## 书籍推荐 ### 入门 - 《C++ Primer》(第5版) - Stanley B. Lippman - 《A Tour of C++》(第2版) - Bjarne Stroustrup ### 进阶 - 《Effective Modern C++》 - Scott Meyers - 《C++ Concurrency in Action》(第2版) - Anthony Williams - 《The C++ Programming Language》(第4版) - Bjarne Stroustrup ### 高级 - 《C++ Templates: The Complete Guide》(第2版) - 《Modern C++ Design》 - Andrei Alexandrescu ## 在线教程 - [Learn C++](https://www.learncpp.com/) - 免费 C++ 教程 - [HackerRank C++](https://www.hackerrank.com/domains/cpp) - C++ 练习题 - [CppCon YouTube](https://www.youtube.com/user/CppCon) - CppCon 会议视频 ## 常用库 | 库名 | 用途 | 链接 | |------|------|------| | Boost | 通用工具库 | https://www.boost.org/ | | GoogleTest | 单元测试 | https://github.com/google/googletest | | nlohmann/json | JSON 解析 | https://github.com/nlohmann/json | | fmt | 格式化库 | https://github.com/fmtlib/fmt | | spdlog | 日志库 | https://github.com/gabime/spdlog | | OpenSSL | 加密库 | https://www.openssl.org/ | | libcurl | HTTP 客户端 | https://curl.se/libcurl/ | | Asio | 异步 I/O | https://think-async.com/Asio/ | ## 工具 ### 编译器 - GCC: https://gcc.gnu.org/ - Clang: https://clang.llvm.org/ - MSVC: https://visualstudio.microsoft.com/ ### 构建工具 - CMake: https://cmake.org/ - Ninja: https://ninja-build.org/ - Meson: https://mesonbuild.com/ ### 包管理器 - Conan: https://conan.io/ - vcpkg: https://vcpkg.io/ ### 静态分析 - clang-tidy: https://clang.llvm.org/extra/clang-tidy/ - cppcheck: http://cppcheck.net/ - PVS-Studio: https://pvs-studio.com/ ### IDE - CLion: https://www.jetbrains.com/clion/ - Visual Studio Code: https://code.visualstudio.com/ - Qt Creator: https://www.qt.io/product/development-tools ## 社区 - [r/cpp](https://www.reddit.com/r/cpp/) - Reddit C++ 社区 - [Stack Overflow C++](https://stackoverflow.com/questions/tagged/c%2b%2b) - 问答 - [cpplang Slack](https://cpplang.now.sh/) - Slack 社区