# cpp-learning-project **Repository Path**: makur/cpp-learning-project ## Basic Information - **Project Name**: cpp-learning-project - **Description**: C++ 学习项目工程 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-29 - **Last Updated**: 2024-04-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cpp-learning-project ## 介绍 C++ 学习项目工程 学习文档地址: //C++ 编译 使用编译器将代码编译成二进制目标文件(object file)。 g++ -c file.cpp -o file.o 链接 将二进制目标文件链接起来生成可执行文件 g++ file1.o file2.o -o test.exe 执行 执行可执行文件(.exe这个后缀可以不加) ./test.exe 直接编译成可执行文件 g++ program.cpp -o program.exe