C/C++¶
视频教程
编译器¶
MSVC (Windows)¶
gcc/g++¶
clang/clang++ (LLVM)¶
包管理¶
vcpkg¶
- 中文指南 C++ Library Manager for Windows, Linux, and MacOS
apt(Debian,Ubuntu)¶
yum(CentOS,Fedora)¶
构建工具¶
Visual Studio (Windows)¶
GNU make¶
CMake¶
代码规范¶
clang-format¶
实用库¶
CLI¶
-
Example
main.cpp#include <structopt/app.hpp> struct FileOptions { // Positional arguments // ./main <input_file> <output_file> std::string input_file; std::string output_file; }; STRUCTOPT(FileOptions, input_file, output_file); int main(int argc, char *argv[]) { try { auto options = structopt::app("my_app").parse<FileOptions>(argc, argv); // Print parsed arguments: std::cout << "\nInput file : " << options.input_file << "\n"; std::cout << "Output file : " << options.output_file << "\n"; } catch (structopt::exception& e) { std::cout << e.what() << "\n"; std::cout << e.help(); } }
GUI¶
- ImGui
- Qt
CG / Physic simulation¶
- glm
- igl
- bullet
network¶
- enet
math¶
- GSL
- Eigen
Parallel¶
最后更新:
April 23, 2022
