├── Code ├── .idea │ ├── .name │ ├── Chapter3.iml │ ├── vcs.xml │ ├── .gitignore │ ├── misc.xml │ └── modules.xml ├── Chapter3 │ ├── cmake-build-debug │ │ ├── CMakeFiles │ │ │ ├── progress.marks │ │ │ ├── clion-environment.txt │ │ │ ├── cmake.check_cache │ │ │ ├── Chapter3.dir │ │ │ │ ├── main.cpp.o │ │ │ │ ├── arrayTest.cpp.o │ │ │ │ ├── TypeConversion.cpp.o │ │ │ │ ├── iteratorUsing.cpp.o │ │ │ │ ├── StringConstructor.cpp.o │ │ │ │ ├── VectorConstructor.cpp.o │ │ │ │ ├── progress.make │ │ │ │ ├── flags.make │ │ │ │ ├── link.txt │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── CXX.includecache │ │ │ │ ├── depend.make │ │ │ │ ├── depend.internal │ │ │ │ └── DependInfo.cmake │ │ │ ├── 3.19.2 │ │ │ │ ├── CompilerIdC │ │ │ │ │ └── a.out │ │ │ │ ├── CompilerIdCXX │ │ │ │ │ └── a.out │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── TargetDirectories.txt │ │ │ ├── clion-log.txt │ │ │ ├── CMakeDirectoryInformation.cmake │ │ │ ├── Makefile.cmake │ │ │ └── Makefile2 │ │ ├── Chapter3 │ │ ├── Testing │ │ │ └── Temporary │ │ │ │ └── LastTest.log │ │ └── cmake_install.cmake │ ├── .idea │ │ ├── Chapter3.iml │ │ ├── misc.xml │ │ ├── vcs.xml │ │ ├── .gitignore │ │ └── modules.xml │ ├── arrayTest.h │ ├── TypeConversion.h │ ├── iteratorUsing.h │ ├── StringConstructor.h │ ├── VectorConstructor.h │ ├── CMakeLists.txt │ ├── arrayTest.cpp │ ├── main.cpp │ ├── iteratorUsing.cpp │ ├── VectorConstructor.cpp │ ├── StringConstructor.cpp │ └── TypeConversion.cpp ├── Chapter4 │ ├── cmake-build-debug │ │ ├── CMakeFiles │ │ │ ├── progress.marks │ │ │ ├── clion-environment.txt │ │ │ ├── main.dir │ │ │ │ ├── progress.make │ │ │ │ ├── main.cpp.o │ │ │ │ ├── exercise5_14.cpp.o │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── CXX.includecache │ │ │ │ ├── depend.make │ │ │ │ ├── link.txt │ │ │ │ ├── depend.internal │ │ │ │ ├── flags.make │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── Chapter4.dir │ │ │ │ ├── progress.make │ │ │ │ ├── main.cpp.o │ │ │ │ ├── depend.make │ │ │ │ ├── depend.internal │ │ │ │ ├── CXX.includecache │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── exercise5_14.dir │ │ │ │ ├── progress.make │ │ │ │ ├── exercise5_14.cpp.o │ │ │ │ ├── depend.make │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── depend.internal │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ ├── CXX.includecache │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── exercise5_19.dir │ │ │ │ ├── progress.make │ │ │ │ ├── exercise5_19.cpp.o │ │ │ │ ├── CXX.includecache │ │ │ │ ├── depend.make │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── depend.internal │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── exercise5_20.dir │ │ │ │ ├── progress.make │ │ │ │ ├── exercise5_14.cpp.o │ │ │ │ ├── exercise5_20.cpp.o │ │ │ │ ├── CXX.includecache │ │ │ │ ├── depend.make │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── depend.internal │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── CMakeCXXCompilerId.dir │ │ │ │ ├── progress.make │ │ │ │ ├── depend.make │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ └── DependInfo.cmake │ │ │ ├── exercise5_23_24_25.dir │ │ │ │ ├── progress.make │ │ │ │ ├── exercise5_23_24_25.cpp.o │ │ │ │ ├── depend.make │ │ │ │ ├── depend.internal │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── link.txt │ │ │ │ ├── flags.make │ │ │ │ ├── CXX.includecache │ │ │ │ └── DependInfo.cmake │ │ │ ├── cmake.check_cache │ │ │ ├── exerise5_20.dir │ │ │ │ ├── progress.make │ │ │ │ ├── exerise5_20.cpp.o │ │ │ │ ├── exercise5_14.cpp.o │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── link.txt │ │ │ │ ├── depend.make │ │ │ │ ├── flags.make │ │ │ │ ├── depend.internal │ │ │ │ ├── CXX.includecache │ │ │ │ └── DependInfo.cmake │ │ │ ├── 3.19.2 │ │ │ │ ├── CompilerIdC │ │ │ │ │ └── a.out │ │ │ │ ├── CompilerIdCXX │ │ │ │ │ └── a.out │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── clion-log.txt │ │ │ ├── CMakeDirectoryInformation.cmake │ │ │ ├── TargetDirectories.txt │ │ │ └── Makefile.cmake │ │ ├── Chapter4 │ │ ├── exercise5_14 │ │ ├── exercise5_19 │ │ ├── exercise5_20 │ │ ├── exercise5_23_24_25 │ │ ├── Testing │ │ │ └── Temporary │ │ │ │ └── LastTest.log │ │ └── cmake_install.cmake │ ├── .idea │ │ ├── Chapter4.iml │ │ ├── misc.xml │ │ ├── .gitignore │ │ ├── vcs.xml │ │ └── modules.xml │ ├── main.cpp │ ├── exercise5_14.h │ ├── exercise5_19.h │ ├── exercise5_20.h │ ├── exercise5_23_24_25.h │ ├── CMakeLists.txt │ ├── exercise5_19.cpp │ ├── exercise5_20.cpp │ ├── exercise5_14.cpp │ └── exercise5_23_24_25.cpp └── Chapter5 │ ├── cmake-build-debug │ ├── CMakeFiles │ │ ├── progress.marks │ │ ├── clion-environment.txt │ │ ├── Chapter5.dir │ │ │ ├── progress.make │ │ │ ├── main.cpp.o │ │ │ ├── depend.make │ │ │ ├── depend.internal │ │ │ ├── CXX.includecache │ │ │ ├── cmake_clean.cmake │ │ │ ├── link.txt │ │ │ ├── flags.make │ │ │ ├── DependInfo.cmake │ │ │ └── build.make │ │ ├── exericse6_4.dir │ │ │ ├── progress.make │ │ │ ├── exericse6_4.cpp.o │ │ │ ├── depend.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── depend.internal │ │ │ ├── link.txt │ │ │ ├── flags.make │ │ │ ├── CXX.includecache │ │ │ ├── DependInfo.cmake │ │ │ └── build.make │ │ ├── main.dir │ │ │ ├── progress.make │ │ │ ├── depend.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── link.txt │ │ │ ├── flags.make │ │ │ └── DependInfo.cmake │ │ ├── cmake.check_cache │ │ ├── CMakeCXXCompilerId.dir │ │ │ ├── progress.make │ │ │ ├── depend.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── link.txt │ │ │ ├── flags.make │ │ │ └── DependInfo.cmake │ │ ├── 3.19.2 │ │ │ ├── CompilerIdC │ │ │ │ └── a.out │ │ │ ├── CompilerIdCXX │ │ │ │ └── a.out │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ ├── CMakeSystem.cmake │ │ │ └── CMakeCCompiler.cmake │ │ ├── clion-log.txt │ │ ├── TargetDirectories.txt │ │ ├── CMakeDirectoryInformation.cmake │ │ └── Makefile.cmake │ ├── Chapter5 │ ├── exericse6_4 │ ├── Testing │ │ └── Temporary │ │ │ └── LastTest.log │ └── cmake_install.cmake │ ├── .idea │ ├── Chapter5.iml │ ├── misc.xml │ ├── .gitignore │ ├── vcs.xml │ └── modules.xml │ ├── main.cpp │ ├── exericse6_4.h │ ├── CMakeLists.txt │ └── exericse6_4.cpp ├── c++高级开发【侯捷】 ├── code │ ├── cmake-build-debug │ │ ├── CMakeFiles │ │ │ ├── progress.marks │ │ │ ├── clion-environment.txt │ │ │ ├── code.dir │ │ │ │ ├── progress.make │ │ │ │ ├── main.cpp.o │ │ │ │ ├── complex_test.cpp.o │ │ │ │ ├── string_test.cpp.o │ │ │ │ ├── CXX.includecache │ │ │ │ ├── link.txt │ │ │ │ ├── depend.make │ │ │ │ ├── cmake_clean.cmake │ │ │ │ ├── depend.internal │ │ │ │ ├── flags.make │ │ │ │ ├── DependInfo.cmake │ │ │ │ └── build.make │ │ │ ├── cmake.check_cache │ │ │ ├── 3.17.3 │ │ │ │ ├── CompilerIdC │ │ │ │ │ └── a.out │ │ │ │ ├── CompilerIdCXX │ │ │ │ │ └── a.out │ │ │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ │ │ ├── CMakeDetermineCompilerABI_CXX.bin │ │ │ │ ├── CMakeSystem.cmake │ │ │ │ └── CMakeCCompiler.cmake │ │ │ ├── TargetDirectories.txt │ │ │ ├── clion-log.txt │ │ │ ├── CMakeDirectoryInformation.cmake │ │ │ ├── Makefile.cmake │ │ │ └── Makefile2 │ │ ├── code │ │ └── cmake_install.cmake │ ├── .idea │ │ ├── code.iml │ │ ├── misc.xml │ │ ├── vcs.xml │ │ ├── .gitignore │ │ └── modules.xml │ ├── CMakeLists.txt │ ├── string_test.cpp │ ├── complex_test.cpp │ ├── string.h │ └── complex.h ├── .DS_Store ├── C++面向对象程序设计 - 笔记.pdf ├── 课件pdf │ ├── 面向对象Part2.pdf │ └── C++课件_面向对象高级编程.pdf └── 资源 │ └── url.txt ├── .DS_Store ├── .gitattributes ├── Primer C++(第5版).pdf ├── STL标准库与泛型编程【侯捷】 └── STL标准库与泛型编程.pdf ├── c++11新特性【侯捷】 └── C++新标准C++11_14.pdf └── README.md /Code/.idea/.name: -------------------------------------------------------------------------------- 1 | Chapter3 -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/.DS_Store -------------------------------------------------------------------------------- /c++高级开发【侯捷】/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/.DS_Store -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: 1.0 (local)Options: 2 | 3 | Options: -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: 1.0 (local)Options: 2 | 3 | Options: -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: 1.0 (local)Options: 2 | 3 | Options: -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: 1.0 (local)Options: 2 | 3 | Options: -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 13 2 | CMAKE_PROGRESS_2 = 14 3 | 4 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | 4 | -------------------------------------------------------------------------------- /Code/.idea/Chapter3.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 3 2 | CMAKE_PROGRESS_2 = 4 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 5 2 | CMAKE_PROGRESS_2 = 6 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 7 2 | CMAKE_PROGRESS_2 = 8 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 4 2 | CMAKE_PROGRESS_2 = 5 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 6 2 | CMAKE_PROGRESS_2 = 7 3 | 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | Primer[[:space:]]C++(第5版).pdf filter=lfs diff=lfs merge=lfs -text 2 | *.pdf filter=lfs diff=lfs merge=lfs -text 3 | -------------------------------------------------------------------------------- /Code/Chapter3/.idea/Chapter3.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Code/Chapter4/.idea/Chapter4.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 9 2 | CMAKE_PROGRESS_2 = 10 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter5/.idea/Chapter5.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/.idea/code.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 11 2 | CMAKE_PROGRESS_2 = 12 3 | 4 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/code: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/code -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/Chapter3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/Chapter3 -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/Chapter4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/Chapter4 -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/Chapter5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/Chapter5 -------------------------------------------------------------------------------- /Code/Chapter5/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | std::cout << "Hello, World!" << std::endl; 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/exercise5_14: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/exercise5_14 -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/exercise5_19: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/exercise5_19 -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/exercise5_20: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/exercise5_20 -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 8 2 | CMAKE_PROGRESS_2 = 9 3 | CMAKE_PROGRESS_3 = 10 4 | 5 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/exericse6_4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/exericse6_4 -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 10 2 | CMAKE_PROGRESS_2 = 11 3 | CMAKE_PROGRESS_3 = 12 4 | 5 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/exercise5_23_24_25: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/exercise5_23_24_25 -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | CMAKE_PROGRESS_3 = 3 4 | 5 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for main. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /Primer C++(第5版).pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:56f25e28a0df2fbc3702bb901ecc4530af1452c1421d987a1099778f73d13039 3 | size 208137894 4 | -------------------------------------------------------------------------------- /Code/Chapter3/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter4/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Code/Chapter5/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /STL标准库与泛型编程【侯捷】/STL标准库与泛型编程.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e55ffceb01923d89e8545dc134e76511f88d65b72784ad49ce006c475874f2a2 3 | size 30723603 4 | -------------------------------------------------------------------------------- /c++11新特性【侯捷】/C++新标准C++11_14.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b3c78406fb00fd77cae47754c392fdbc7c6e3a80d350013420a1ff4405f21c24 3 | size 24457634 4 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/C++面向对象程序设计 - 笔记.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:77b01b197aa4dfa5724432335f815e3abc5cc433b75b5fd642b5d18748b40630 3 | size 11394298 4 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/课件pdf/面向对象Part2.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7925aa35ed3824ee8e95d9d0e6076d3af6aa5d087e95c0c25d02569bf192d0eb 3 | size 15410120 4 | -------------------------------------------------------------------------------- /Code/Chapter4/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # 默认忽略的文件 2 | /shelf/ 3 | /workspace.xml 4 | # 数据源本地存储已忽略文件 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # 基于编辑器的 HTTP 客户端请求 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /Code/Chapter5/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # 默认忽略的文件 2 | /shelf/ 3 | /workspace.xml 4 | # 数据源本地存储已忽略文件 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # 基于编辑器的 HTTP 客户端请求 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/课件pdf/C++课件_面向对象高级编程.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a7cc008d628b98fb3bce65791b49e20bd8102a21e9f898b8fd77b4acb3aecee6 3 | size 2425884 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for CMakeCXXCompilerId. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/main.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | using namespace std; 4 | 5 | int main() { 6 | cout << "-------- main --------" << endl; 7 | 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for CMakeCXXCompilerId. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/main.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/main.cpp.o -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/main.cpp.o -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.17) 2 | project(code) 3 | 4 | set(CMAKE_CXX_STANDARD 14) 5 | 6 | add_executable(code complex_test.cpp) #运行哪个mian函数就包含哪个cpp文件 -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/main.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/main.cpp.o -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/Testing/Temporary/LastTest.log: -------------------------------------------------------------------------------- 1 | Start testing: May 16 18:30 CST 2 | ---------------------------------------------------------- 3 | End testing: May 16 18:30 CST 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/Testing/Temporary/LastTest.log: -------------------------------------------------------------------------------- 1 | Start testing: Jun 04 18:31 CST 2 | ---------------------------------------------------------- 3 | End testing: Jun 04 18:31 CST 4 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdC/a.out -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/a.out -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/Testing/Temporary/LastTest.log: -------------------------------------------------------------------------------- 1 | Start testing: Jun 04 20:12 CST 2 | ---------------------------------------------------------- 3 | End testing: Jun 04 20:12 CST 4 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/arrayTest.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/arrayTest.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/exercise5_14.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/exercise5_14.cpp.o -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdC/a.out -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CompilerIdCXX/a.out -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/complex_test.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/complex_test.cpp.o -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/string_test.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/string_test.cpp.o -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/TypeConversion.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/TypeConversion.cpp.o -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/StringConstructor.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/StringConstructor.cpp.o -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/exercise5_14.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/exercise5_14.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o -------------------------------------------------------------------------------- /Code/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /Code/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /Code/Chapter3/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter4/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter5/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /Code/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter3/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/Chapter4.dir/main.cpp.o: ../main.cpp 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/Chapter5.dir/main.cpp.o: ../main.cpp 5 | 6 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jin-zz/LearningCPlusPlus/HEAD/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | CMAKE_PROGRESS_3 = 3 4 | CMAKE_PROGRESS_4 = 4 5 | CMAKE_PROGRESS_5 = 5 6 | CMAKE_PROGRESS_6 = 6 7 | CMAKE_PROGRESS_7 = 7 8 | 9 | -------------------------------------------------------------------------------- /Code/Chapter5/exericse6_4.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #ifndef CHAPTER5_EXERICSE6_4_H 6 | #define CHAPTER5_EXERICSE6_4_H 7 | 8 | 9 | class exericse6_4 { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER5_EXERICSE6_4_H 15 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/资源/url.txt: -------------------------------------------------------------------------------- 1 | 百度网盘地址,不能保证长期有效,如有问题请反馈. 2 | 3 | 2016跟侯捷学C++全方位提升技能素养-C++开发工程师 4 | 链接:https://pan.baidu.com/s/1azfa1N5DN6fimspqU1mpsw 密码:kut5 5 | 6 | 包括课件与视频 7 | - c++面向对象高级编程 8 | - STL与泛型编程 9 | - c++设计模式 10 | - 算法原理与实践 11 | - 系统设计与实践 12 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_14.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #ifndef CHAPTER4_EXERCISE5_14_H 6 | #define CHAPTER4_EXERCISE5_14_H 7 | 8 | 9 | class exercise5_14 { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER4_EXERCISE5_14_H 15 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_19.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #ifndef CHAPTER4_EXERCISE5_19_H 6 | #define CHAPTER4_EXERCISE5_19_H 7 | 8 | 9 | class exercise5_19 { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER4_EXERCISE5_19_H 15 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_20.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #ifndef CHAPTER4_EXERCISE5_20_H 6 | #define CHAPTER4_EXERCISE5_20_H 7 | 8 | 9 | class exercise5_20 { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER4_EXERCISE5_20_H 15 | -------------------------------------------------------------------------------- /Code/Chapter3/arrayTest.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/5/15. 3 | // 4 | 5 | #ifndef CHAPTER3_ARRAYTEST_H 6 | #define CHAPTER3_ARRAYTEST_H 7 | 8 | void arrayTest(); 9 | 10 | class arrayTest { 11 | 12 | }; 13 | 14 | 15 | #endif //CHAPTER3_ARRAYTEST_H 16 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_23_24_25.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #ifndef CHAPTER4_EXERCISE5_23_24_25_H 6 | #define CHAPTER4_EXERCISE5_23_24_25_H 7 | 8 | 9 | class exercise5_23_24_25 { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER4_EXERCISE5_23_24_25_H 15 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Library/Developer/CommandLineTools/usr/bin/c++ -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/code.dir/complex_test.cpp.o -o code 2 | -------------------------------------------------------------------------------- /Code/Chapter3/TypeConversion.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金卓群 on 2021/5/9. 3 | // 4 | 5 | #ifndef CHAPTER3_TYPECONVERSION_H 6 | #define CHAPTER3_TYPECONVERSION_H 7 | 8 | void typeConversion(); 9 | class TypeConversion { 10 | 11 | }; 12 | 13 | 14 | #endif //CHAPTER3_TYPECONVERSION_H 15 | -------------------------------------------------------------------------------- /Code/Chapter3/iteratorUsing.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/5/15. 3 | // 4 | 5 | #ifndef CHAPTER3_ITERATORUSING_H 6 | #define CHAPTER3_ITERATORUSING_H 7 | 8 | void iteratorUsing(); 9 | 10 | class iteratorUsing { 11 | 12 | }; 13 | 14 | 15 | #endif //CHAPTER3_ITERATORUSING_H 16 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/Chapter4.dir/main.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 6 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/Chapter5.dir/main.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp 6 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.17 3 | 4 | CMakeFiles/code.dir/complex_test.cpp.o: ../complex.h 5 | CMakeFiles/code.dir/complex_test.cpp.o: ../complex_test.cpp 6 | 7 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o: ../exericse6_4.cpp 5 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o: ../exericse6_4.h 6 | 7 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Code/Chapter3/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Code/Chapter3/StringConstructor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金卓群 on 2021/4/26. 3 | // 4 | 5 | #ifndef CHAPTER3_STRINGCONSTRUCTOR_H 6 | #define CHAPTER3_STRINGCONSTRUCTOR_H 7 | 8 | void stringConstructorTest(); 9 | 10 | class StringConstructor { 11 | 12 | }; 13 | 14 | 15 | #endif //CHAPTER3_STRINGCONSTRUCTOR_H 16 | -------------------------------------------------------------------------------- /Code/Chapter4/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Code/Chapter5/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o: ../exercise5_14.cpp 5 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o: ../exercise5_14.h 6 | 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o: ../exercise5_19.cpp 5 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o: ../exercise5_19.h 6 | 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o: ../exercise5_20.cpp 5 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o: ../exercise5_20.h 6 | 7 | -------------------------------------------------------------------------------- /Code/Chapter3/VectorConstructor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金卓群 on 2021/4/26. 3 | // 4 | 5 | #ifndef CHAPTER3_VECTORCONSTRUCTOR_H 6 | #define CHAPTER3_VECTORCONSTRUCTOR_H 7 | 8 | void VectorConstructor(); 9 | void output(); 10 | class VectorConstructor { 11 | 12 | }; 13 | 14 | 15 | #endif //CHAPTER3_VECTORCONSTRUCTOR_H 16 | -------------------------------------------------------------------------------- /Code/Chapter3/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.17) 2 | project(Chapter3) 3 | 4 | set(CMAKE_CXX_STANDARD 17) 5 | 6 | add_executable(Chapter3 main.cpp StringConstructor.cpp StringConstructor.h VectorConstructor.cpp VectorConstructor.h TypeConversion.cpp TypeConversion.h iteratorUsing.cpp iteratorUsing.h arrayTest.cpp arrayTest.h) -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/main.dir/main.cpp.o" 3 | "main" 4 | "main.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/main.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 10 | iostream 11 | - 12 | 13 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/main.dir/exercise5_14.cpp.o: ../exercise5_14.cpp 5 | CMakeFiles/main.dir/exercise5_14.cpp.o: ../exercise5_14.h 6 | 7 | CMakeFiles/main.dir/main.cpp.o: ../main.cpp 8 | 9 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/code.dir/complex_test.cpp.o" 3 | "code" 4 | "code.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/code.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 10 | iostream 11 | - 12 | 13 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp 10 | iostream 11 | - 12 | 13 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/Chapter4.dir/main.cpp.o" 3 | "Chapter4" 4 | "Chapter4.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/Chapter4.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o: ../exercise5_23_24_25.cpp 5 | CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o: ../exercise5_23_24_25.h 6 | 7 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/Chapter5.dir/main.cpp.o" 3 | "Chapter5" 4 | "Chapter5.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/Chapter5.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/string_test.cpp: -------------------------------------------------------------------------------- 1 | #include "string.h" 2 | #include 3 | 4 | using namespace std; 5 | 6 | int main() 7 | { 8 | String s1("hello"); 9 | String s2("world"); 10 | 11 | String s3(s2); 12 | cout << s3 << endl; 13 | 14 | s3 = s1; 15 | cout << s3 << endl; 16 | cout << s2 << endl; 17 | cout << s1 << endl; 18 | } 19 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.17 3 | 4 | CMakeFiles/code.dir/complex_test.cpp.o 5 | /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex.h 6 | /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex_test.cpp 7 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/cmake-build-debug/CMakeFiles/rebuild_cache.dir 2 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/cmake-build-debug/CMakeFiles/edit_cache.dir 3 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir 4 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/main.dir/main.cpp.o -o main 2 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o" 3 | "exericse6_4" 4 | "exericse6_4.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/exericse6_4.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o" 3 | "exercise5_14" 4 | "exercise5_14.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/exercise5_14.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o" 3 | "exercise5_19" 4 | "exercise5_19.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/exercise5_19.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o" 3 | "exercise5_20" 4 | "exercise5_20.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/exercise5_20.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.h 7 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/main.dir/exericse6_4.cpp.o" 3 | "CMakeFiles/main.dir/main.cpp.o" 4 | "main" 5 | "main.pdb" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/main.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/rebuild_cache.dir 2 | /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/edit_cache.dir 3 | /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir 4 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3 2 | -- Configuring done 3 | -- Generating done 4 | -- Build files have been written to: /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/cmake-build-debug 5 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/Chapter4.dir/main.cpp.o -o Chapter4 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.h 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.h 7 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/Chapter5.dir/main.cpp.o -o Chapter5 2 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code 2 | -- Configuring done 3 | -- Generating done 4 | -- Build files have been written to: /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug 5 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.17 3 | 4 | # compile CXX with /Library/Developer/CommandLineTools/usr/bin/c++ 5 | CXX_FLAGS = -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -std=gnu++14 6 | 7 | CXX_DEFINES = 8 | 9 | CXX_INCLUDES = 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o -o exercise5_14 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o -o exercise5_19 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o -o exercise5_20 2 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o -o exericse6_4 2 | -------------------------------------------------------------------------------- /Code/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.h 7 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/main.dir/main.cpp.o CMakeFiles/main.dir/exericse6_4.cpp.o -o main 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o" 3 | "exercise5_23_24_25" 4 | "exercise5_23_24_25.pdb" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/exercise5_23_24_25.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o -o exercise5_23_24_25 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o" 3 | "CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o" 4 | "exerise5_20" 5 | "exerise5_20.pdb" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/exerise5_20.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeCXXCompilerId" 3 | "CMakeCXXCompilerId.pdb" 4 | "CMakeFiles/CMakeCXXCompilerId.dir/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o" 5 | ) 6 | 7 | # Per-language clean rules from dependency scanning. 8 | foreach(lang CXX) 9 | include(CMakeFiles/CMakeCXXCompilerId.dir/cmake_clean_${lang}.cmake OPTIONAL) 10 | endforeach() 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o -o exerise5_20 2 | -------------------------------------------------------------------------------- /Code/Chapter4/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.19) 2 | project(Chapter4) 3 | 4 | set(CMAKE_CXX_STANDARD 17) 5 | 6 | add_executable(Chapter4 main.cpp) 7 | 8 | # 遍历项目根目录下所有的 .cpp 文件 9 | file (GLOB_RECURSE files *.cpp) 10 | foreach (file ${files}) 11 | string(REGEX REPLACE ".+/(.+)\\..*" "\\1" exe ${file}) 12 | add_executable (${exe} ${file}) 13 | message (\ \ \ \ --\ src/${exe}.cpp\ will\ be\ compiled\ to\ bin/${exe}) 14 | endforeach () -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o: ../exercise5_14.cpp 5 | CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o: ../exercise5_14.h 6 | 7 | CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o: ../exerise5_20.cpp 8 | CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o: ../exerise5_20.h 9 | 10 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/CMakeCXXCompilerId.dir/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o -o CMakeCXXCompilerId 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/main.dir/exercise5_14.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 7 | CMakeFiles/main.dir/main.cpp.o 8 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 9 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/3.19.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-19.5.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "19.5.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Darwin-19.5.0") 9 | set(CMAKE_SYSTEM_NAME "Darwin") 10 | set(CMAKE_SYSTEM_VERSION "19.5.0") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-19.5.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "19.5.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Darwin-19.5.0") 9 | set(CMAKE_SYSTEM_NAME "Darwin") 10 | set(CMAKE_SYSTEM_VERSION "19.5.0") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /Code/Chapter5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.19) 2 | project(Chapter5) 3 | 4 | set(CMAKE_CXX_STANDARD 17) 5 | 6 | add_executable(Chapter5 main.cpp) 7 | 8 | # 遍历项目根目录下所有的 .cpp 文件 9 | file (GLOB_RECURSE files *.cpp) 10 | foreach (file ${files}) 11 | string(REGEX REPLACE ".+/(.+)\\..*" "\\1" exe ${file}) 12 | add_executable (${exe} ${file} exericse6_4.cpp exericse6_4.h) 13 | message (\ \ \ \ --\ src/${exe}.cpp\ will\ be\ compiled\ to\ bin/${exe}) 14 | endforeach () -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/3.19.2/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-19.5.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "19.5.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Darwin-19.5.0") 9 | set(CMAKE_SYSTEM_NAME "Darwin") 10 | set(CMAKE_SYSTEM_VERSION "19.5.0") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/3.17.3/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Darwin-19.2.0") 2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin") 3 | set(CMAKE_HOST_SYSTEM_VERSION "19.2.0") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Darwin-19.2.0") 9 | set(CMAKE_SYSTEM_NAME "Darwin") 10 | set(CMAKE_SYSTEM_VERSION "19.2.0") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeCXXCompilerId" 3 | "CMakeCXXCompilerId.pdb" 4 | "CMakeFiles/CMakeCXXCompilerId.dir/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o" 5 | "CMakeFiles/CMakeCXXCompilerId.dir/exericse6_4.cpp.o" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/CMakeCXXCompilerId.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/CMakeCXXCompilerId.dir/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o CMakeFiles/CMakeCXXCompilerId.dir/exericse6_4.cpp.o -o CMakeCXXCompilerId 2 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ 5 | CXX_DEFINES = 6 | 7 | CXX_INCLUDES = 8 | 9 | CXX_FLAGS = -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -std=gnu++17 10 | 11 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp 10 | exericse6_4.h 11 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.h 12 | iostream 13 | - 14 | 15 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.h 16 | 17 | -------------------------------------------------------------------------------- /Code/Chapter5/exericse6_4.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #include "exericse6_4.h" 6 | #include 7 | 8 | using namespace std; 9 | 10 | 11 | int fact(int i){ 12 | return i > 1 ? i * fact(i-1) : 1; 13 | } 14 | 15 | void getFact(){ 16 | cout << "输入一个数字:"<> num; 19 | cout << "阶乘结果:" << fact(num) << endl; 20 | } 21 | 22 | 23 | /** 24 | * 编写一个与用户交互的函数,要求用户输入一个数字,计算生成该数字的阶乘。在main函数中调用该函数 25 | * @return 26 | */ 27 | int main(){ 28 | getFact(); 29 | return 0; 30 | } -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 10 | exercise5_14.h 11 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 12 | iostream 13 | - 14 | vector 15 | - 16 | 17 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 18 | 19 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 2 | -- src/CMakeCXXCompilerId.cpp will be compiled to bin/CMakeCXXCompilerId 3 | -- src/exericse6_4.cpp will be compiled to bin/exericse6_4 4 | -- src/main.cpp will be compiled to bin/main 5 | -- Configuring done 6 | -- Generating done 7 | -- Build files have been written to: /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug 8 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.cpp 10 | exercise5_23_24_25.h 11 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.h 12 | iostream 13 | - 14 | sstream 15 | - 16 | 17 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.h 18 | 19 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 7 | CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o 8 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.cpp 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.h 10 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_19.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #include "exercise5_19.h" 6 | #include 7 | 8 | using namespace std; 9 | int main(){ 10 | 11 | string str; 12 | string lastStr; 13 | cout<< "题目:编写一段程序,使用do while 循环重复地执行下述任务:首先提示用户输入两个string对象,然后挑出较短的那个并输出它。"<< endl; 14 | cout<< "输入两个string对象:(command+D 结束输入)" <> s1 >> s2; 19 | cout << "较短的str是" <<( s1.size() < s2.size() ? s1 : s2 ) << endl; 20 | } while (cin); 21 | 22 | 23 | 24 | return 0; 25 | } 26 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/link.txt: -------------------------------------------------------------------------------- 1 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/Chapter3.dir/main.cpp.o CMakeFiles/Chapter3.dir/StringConstructor.cpp.o CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o CMakeFiles/Chapter3.dir/TypeConversion.cpp.o CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o CMakeFiles/Chapter3.dir/arrayTest.cpp.o -o Chapter3 2 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/Chapter3.dir/StringConstructor.cpp.o" 3 | "CMakeFiles/Chapter3.dir/TypeConversion.cpp.o" 4 | "CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o" 5 | "CMakeFiles/Chapter3.dir/arrayTest.cpp.o" 6 | "CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o" 7 | "CMakeFiles/Chapter3.dir/main.cpp.o" 8 | "Chapter3" 9 | "Chapter3.pdb" 10 | ) 11 | 12 | # Per-language clean rules from dependency scanning. 13 | foreach(lang CXX) 14 | include(CMakeFiles/Chapter3.dir/cmake_clean_${lang}.cmake OPTIONAL) 15 | endforeach() 16 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/edit_cache.dir 2 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir 3 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/rebuild_cache.dir 4 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir 7 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/main.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/main.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/main.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 2 | -- src/CMakeCXXCompilerId.cpp will be compiled to bin/CMakeCXXCompilerId 3 | -- src/exercise5_14.cpp will be compiled to bin/exercise5_14 4 | -- src/exercise5_19.cpp will be compiled to bin/exercise5_19 5 | -- src/exercise5_20.cpp will be compiled to bin/exercise5_20 6 | -- src/exercise5_23_24_25.cpp will be compiled to bin/exercise5_23_24_25 7 | -- src/main.cpp will be compiled to bin/main 8 | -- Configuring done 9 | -- Generating done 10 | -- Build files have been written to: /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 11 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex_test.cpp" "/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/complex_test.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/cmake-build-debug") 7 | 8 | # Force unix paths in dependencies. 9 | set(CMAKE_FORCE_UNIX_PATHS 1) 10 | 11 | 12 | # The C and CXX include file regular expressions for this directory. 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) 17 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug") 7 | 8 | # Force unix paths in dependencies. 9 | set(CMAKE_FORCE_UNIX_PATHS 1) 10 | 11 | 12 | # The C and CXX include file regular expressions for this directory. 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) 17 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug") 7 | 8 | # Force unix paths in dependencies. 9 | set(CMAKE_FORCE_UNIX_PATHS 1) 10 | 11 | 12 | # The C and CXX include file regular expressions for this directory. 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) 17 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_23_24_25.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir/exercise5_23_24_25.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 10 | exercise5_14.h 11 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 12 | iostream 13 | - 14 | vector 15 | - 16 | 17 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.h 18 | 19 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.cpp 20 | exerise5_20.h 21 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.h 22 | iostream 23 | - 24 | 25 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.h 26 | 27 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.17 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug") 7 | 8 | # Force unix paths in dependencies. 9 | set(CMAKE_FORCE_UNIX_PATHS 1) 10 | 11 | 12 | # The C and CXX include file regular expressions for this directory. 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) 17 | -------------------------------------------------------------------------------- /Code/Chapter3/arrayTest.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/5/15. 3 | // 4 | #include "iteratorUsing.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include "arrayTest.h" 10 | 11 | using namespace std; 12 | void arrayTest(){ 13 | string values[] = {"a", "b", "c"}; 14 | 15 | cout<<"for循环遍历数组值:"< 7 | using namespace std; 8 | 9 | /** 10 | * 编写一段程序,从标准输入中读取string对象的序列直到连续出现两个相同的单词或者所有的单词都读完为止。 11 | * 使用while循环一次读取一个单词,当一个单词连续出现两次时使用break语句终止循环。 12 | * 输出连续重复出现的单词,或者输出一个消息说明没有任何单词是连续重复出现的。 13 | * @return 14 | */ 15 | int main(){ 16 | 17 | string str; 18 | string lastStr; 19 | cout<< "题目:输出连续重复出现的单词,若没有单词重复出现 输出消息说明" << endl; 20 | cout<< "输入字符串序列:(command+D 结束输入)" <>str){ 22 | if( !lastStr.empty() && str == lastStr){ 23 | cout << "读取到两个一样的字符串:" << str << endl; 24 | //break; 25 | return 0; 26 | }else{ 27 | lastStr = str; 28 | } 29 | } 30 | cout<< "无连续重复出现的字符串" << endl; 31 | 32 | 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # C++ Learning 4 | 5 | 记录 C++ 学习历程,包括相应课件和笔记 6 | 7 | - 学习内容:侯捷老师关于c++的系列课 8 | 9 | - 学习进度: 10 | 11 | - [x] ### C++ 面向对象高级编程(上、下) 12 | 13 | - [x] ### C++11 新特性 14 | 15 | - [ ] ### C++ STL 体系结构与内核分析 16 | 17 | - [ ] ### C++ 内存管理 18 | 19 | - 参考视频地址: 20 | 21 | C++ 面向对象高级编程(上、下) https://www.bilibili.com/video/BV1K4411974P 22 | 23 | C++11 新特性 https://www.bilibili.com/video/BV1p4411v7Dh 24 | 25 | STL https://www.bilibili.com/video/BV1db411q7B8 26 | 27 | C++ 内存管理 https://www.bilibili.com/video/BV1Kb411B7N8 28 | 29 | - 参考资料: 30 | 31 | 《C++新标准C++11/14》 https://github.com/cocowts/Cplusplus11_14 32 | 33 | C++ 代码练习 https://github.com/yangsoon/cpptest 34 | 35 | 侯捷C++课程PPT及代码,动手学起来 https://github.com/harvestlamb/Cpp_houjie 36 | 37 | 《c++primer》答案 https://github.com/huangmingchuan/Cpp_Primer_Answers/blob/master/ch04/README.md 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/complex_test.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "complex.h" 3 | 4 | using namespace std; 5 | 6 | ostream & 7 | operator<<(ostream &os, const complex &x) { 8 | return os << '(' << real(x) << ',' << imag(x) << ')'; 9 | } 10 | 11 | int main() { 12 | complex c1(2, 1); 13 | complex c2(4, 0); 14 | 15 | cout << c1 << endl; 16 | cout << c2 << endl; 17 | 18 | cout << c1 + c2 << endl; 19 | cout << c1 - c2 << endl; 20 | cout << c1 * c2 << endl; 21 | cout << c1 / 2 << endl; 22 | 23 | cout << conj(c1) << endl; 24 | cout << norm(c1) << endl; 25 | cout << polar(10, 4) << endl; 26 | 27 | cout << (c1 += c2) << endl; 28 | 29 | cout << (c1 == c2) << endl; 30 | cout << (c1 != c2) << endl; 31 | cout << +c2 << endl; 32 | cout << -c2 << endl; 33 | 34 | cout << (c2 - 2) << endl; 35 | cout << (5 + c2) << endl; 36 | 37 | return 0; 38 | } 39 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir/CMakeFiles/3.19.2/CompilerIdCXX/CMakeCXXCompilerId.cpp.o" 8 | ) 9 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 10 | 11 | # The include file search paths: 12 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 13 | ) 14 | 15 | # Targets to which this target links. 16 | set(CMAKE_TARGET_LINKED_INFO_FILES 17 | ) 18 | 19 | # Fortran module output directory. 20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 21 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/exericse6_4.cpp.o" 8 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/main.dir/main.cpp.o" 9 | ) 10 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 11 | 12 | # The include file search paths: 13 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 14 | ) 15 | 16 | # Targets to which this target links. 17 | set(CMAKE_TARGET_LINKED_INFO_FILES 18 | ) 19 | 20 | # Fortran module output directory. 21 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 22 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_14.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #include "exercise5_14.h" 6 | #include 7 | #include 8 | 9 | using namespace std; 10 | 11 | /** 12 | * 编写一段程序,从标准输入中读取若干string对象并查找连续重复出现的单词. 13 | * 输出连续重复出现最多单词的次数 14 | * @return 15 | */ 16 | int main(){ 17 | string str; 18 | string lastStr; 19 | string result; 20 | int count = 0; 21 | int sum = 0; 22 | cout<< "题目:编写一段程序,从标准输入中读取若干string对象并查找连续重复出现的单词.\n" 23 | "输出连续重复出现最多单词的次数 " <> str){ 26 | if(!lastStr.empty() && str == lastStr){ 27 | count++; 28 | if(count > sum) { 29 | result = str; 30 | sum = count; 31 | } 32 | }else{ 33 | count = 0; 34 | lastStr = str; 35 | } 36 | } 37 | 38 | cout<< "连续重复出现的最大次数:"<< sum + 1 <<", 单词为:"<< result << endl; 39 | return 0; 40 | } 41 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir 2 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_23_24_25.dir 3 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/edit_cache.dir 4 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir 5 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/rebuild_cache.dir 6 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/CMakeCXXCompilerId.dir 7 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir 8 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir 10 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "CXX" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_CXX 7 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exercise5_14.cpp.o" 8 | "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exerise5_20.cpp" "/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exerise5_20.dir/exerise5_20.cpp.o" 9 | ) 10 | set(CMAKE_CXX_COMPILER_ID "AppleClang") 11 | 12 | # The include file search paths: 13 | set(CMAKE_CXX_TARGET_INCLUDE_PATH 14 | ) 15 | 16 | # Targets to which this target links. 17 | set(CMAKE_TARGET_LINKED_INFO_FILES 18 | ) 19 | 20 | # Fortran module output directory. 21 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 22 | -------------------------------------------------------------------------------- /Code/Chapter4/exercise5_23_24_25.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金啄虫 on 2021/6/4. 3 | // 4 | 5 | #include "exercise5_23_24_25.h" 6 | 7 | #include 8 | #include 9 | using namespace std; 10 | /** 11 | * try catch 异常处理 12 | * 编写一段程序,从标准输入读取两个整数,输出第一个数除以第二个数的结果。使得当第二个数是0时抛出异常。 13 | * @return 14 | */ 15 | int main(){ 16 | cout << "题目:编写一段程序,从标准输入读取两个整数,输出第一个数除以第二个数的结果。使得当第二个数是0时抛出异常。" <> n1 >> n2){ 21 | try { 22 | if (n2 == 0) throw runtime_error("n2 is 0 !!"); 23 | else cout << "n1 / n2 : " << n1 / n2 << endl; 24 | } 25 | catch(runtime_error err){ 26 | cout << err.what() << "\n Try Again ? y or n" << endl; 27 | char c; 28 | cin >> c; 29 | if(c == 'n') return 0; 30 | else{ 31 | cout << "please input tow numbers: " << endl; 32 | } 33 | } 34 | } 35 | return 0; 36 | } 37 | -------------------------------------------------------------------------------- /Code/Chapter3/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include "StringConstructor.h" 3 | #include "TypeConversion.h" 4 | #include "VectorConstructor.h" 5 | #include "iteratorUsing.h" 6 | #include "arrayTest.h" 7 | 8 | using namespace std; 9 | int main() { 10 | cout << "Hello, World!" << endl; 11 | cout << "----[StringConstructorTest]----" << endl; 12 | // stringConstructorTest(); 13 | 14 | cout << "----[类型互转 Test]----" << endl; 15 | // typeConversion(); 16 | 17 | cout << "----[VectorConstructor Test]----" << endl; 18 | // VectorConstructor(); 19 | 20 | cout << "----[iterator Test]----" << endl; 21 | // iteratorUsing(); 22 | 23 | cout << "----[array Test]----" << endl; 24 | // arrayTest(); 25 | 26 | int x[10]; 27 | int *p = x; 28 | 29 | cout<< sizeof(x)< 7 | #include 8 | #include 9 | #include 10 | using namespace std; 11 | 12 | void iteratorUsing(){ 13 | //使用迭代器 14 | string s; 15 | cout<<"输入一个字符串:"; 16 | cin >> s; 17 | auto start = s.begin(); 18 | auto last = s.end(); 19 | cout<<"s.begin():"<< *start < mp = { {"a",1 }, { "b", 2 }, {"c",3 }}; 35 | for(auto i = mp.begin(); i != mp.end(); i++) { 36 | cout << "(i->first):" << (i->first) << ", (*i).first:" << (*i).first << endl; 37 | cout << "(i->second):" << (i->second) << ", (*i).second:" << (*i).second << endl; 38 | } 39 | 40 | 41 | } 42 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/CXX.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/StringConstructor.h 10 | 11 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/TypeConversion.h 12 | 13 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/VectorConstructor.h 14 | 15 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/arrayTest.h 16 | 17 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/iteratorUsing.h 18 | 19 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/main.cpp 20 | iostream 21 | - 22 | StringConstructor.h 23 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/StringConstructor.h 24 | TypeConversion.h 25 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/TypeConversion.h 26 | VectorConstructor.h 27 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/VectorConstructor.h 28 | iteratorUsing.h 29 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/iteratorUsing.h 30 | arrayTest.h 31 | /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter3/arrayTest.h 32 | 33 | -------------------------------------------------------------------------------- /Code/Chapter3/cmake-build-debug/CMakeFiles/Chapter3.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | CMakeFiles/Chapter3.dir/StringConstructor.cpp.o: ../StringConstructor.cpp 5 | CMakeFiles/Chapter3.dir/StringConstructor.cpp.o: ../StringConstructor.h 6 | 7 | CMakeFiles/Chapter3.dir/TypeConversion.cpp.o: ../TypeConversion.cpp 8 | CMakeFiles/Chapter3.dir/TypeConversion.cpp.o: ../TypeConversion.h 9 | 10 | CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o: ../VectorConstructor.cpp 11 | CMakeFiles/Chapter3.dir/VectorConstructor.cpp.o: ../VectorConstructor.h 12 | 13 | CMakeFiles/Chapter3.dir/arrayTest.cpp.o: ../arrayTest.cpp 14 | CMakeFiles/Chapter3.dir/arrayTest.cpp.o: ../arrayTest.h 15 | CMakeFiles/Chapter3.dir/arrayTest.cpp.o: ../iteratorUsing.h 16 | 17 | CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o: ../iteratorUsing.cpp 18 | CMakeFiles/Chapter3.dir/iteratorUsing.cpp.o: ../iteratorUsing.h 19 | 20 | CMakeFiles/Chapter3.dir/main.cpp.o: ../StringConstructor.h 21 | CMakeFiles/Chapter3.dir/main.cpp.o: ../TypeConversion.h 22 | CMakeFiles/Chapter3.dir/main.cpp.o: ../VectorConstructor.h 23 | CMakeFiles/Chapter3.dir/main.cpp.o: ../arrayTest.h 24 | CMakeFiles/Chapter3.dir/main.cpp.o: ../iteratorUsing.h 25 | CMakeFiles/Chapter3.dir/main.cpp.o: ../main.cpp 26 | 27 | -------------------------------------------------------------------------------- /Code/Chapter3/VectorConstructor.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金卓群 on 2021/4/26. 3 | // 4 | 5 | #include "VectorConstructor.h" 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | using namespace std; 12 | 13 | //输出元素 14 | void output(vector& v){ 15 | cout<<"输出vector:"< v1; 25 | vector v2(v1); //深拷贝 26 | vector v3 = v1; //深拷贝 27 | vector v4(10, 1); //创建指定数量的元素 28 | vector v5(10); 29 | vector v6{ 1,2,3,4 }; //列表初始化 30 | vector v7 = { 1,2,3,4 }; 31 | 32 | //添加元素 push_back 33 | cout<< "---添加元素 push_back(输入一组数字)---"< v; 35 | string str; 36 | getline(cin, str); 37 | int num; 38 | stringstream ss(str); 39 | while(ss>>num){ 40 | v.push_back(num); 41 | output(v); 42 | } 43 | 44 | //删除元素 pop_back 45 | cout<< "---删除元素 pop_back---"< 2) ? v[2] : 0; 53 | cout<< "v[2]:"<< a < 17 | 18 | inline 19 | String::String(const char* cstr) 20 | { 21 | if (cstr) { 22 | m_data = new char[strlen(cstr)+1]; 23 | strcpy(m_data, cstr); 24 | } 25 | else { 26 | m_data = new char[1]; 27 | *m_data = '\0'; 28 | } 29 | } 30 | 31 | inline 32 | String::~String() 33 | { 34 | delete[] m_data; 35 | } 36 | 37 | inline 38 | String& String::operator=(const String& str) 39 | { 40 | if (this == &str) 41 | return *this; 42 | 43 | delete[] m_data; 44 | m_data = new char[ strlen(str.m_data) + 1 ]; 45 | strcpy(m_data, str.m_data); 46 | return *this; 47 | } 48 | 49 | inline 50 | String::String(const String& str) 51 | { 52 | m_data = new char[ strlen(str.m_data) + 1 ]; 53 | strcpy(m_data, str.m_data); 54 | } 55 | 56 | #include 57 | using namespace std; 58 | 59 | ostream& operator<<(ostream& os, const String& str) 60 | { 61 | os << str.get_c_str(); 62 | return os; 63 | } 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /Code/Chapter3/StringConstructor.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by 金卓群 on 2021/4/26. 3 | // 介绍 string 构造方式 4 | // 5 | 6 | #include "StringConstructor.h" 7 | #include 8 | #include 9 | using namespace std; 10 | 11 | void stringConstructorTest(){ 12 | //默认初始化 为空串 13 | string s; 14 | //拷贝初始化 -> 先初始化一个字符串 再赋值给目标对象 15 | string s1 = "xxx"; 16 | //拷贝初始化 深拷贝 存入新内存 17 | string s2(s1); 18 | //字面量赋值 直接初始化 19 | string s3("value"); 20 | //填充字符串 21 | string s4(10, 'c'); 22 | cout<<"s1:"<> s5; 32 | cout << "s5:" < 不会保存输入时的空格 33 | cout << "s5.size():"<< s5.size() << endl; 34 | 35 | cout<< "按行读取字符串:" < 7 | #include 8 | #include 9 | using namespace std; 10 | void typeConversion(){ 11 | // string & char[] 12 | cout<> num; 45 | cout<<"string_to_int[use stingstream]:"<> int_to_string; 56 | cout<<"int_to_stiring[use stingstream]:"<re += r.re; 36 | ths->im += r.im; 37 | return *ths; 38 | } 39 | 40 | inline complex& 41 | complex::operator += (const complex& r) 42 | { 43 | return __doapl (this, r); 44 | } 45 | 46 | inline complex& 47 | __doami (complex* ths, const complex& r) 48 | { 49 | ths->re -= r.re; 50 | ths->im -= r.im; 51 | return *ths; 52 | } 53 | 54 | inline complex& 55 | complex::operator -= (const complex& r) 56 | { 57 | return __doami (this, r); 58 | } 59 | 60 | inline complex& 61 | __doaml (complex* ths, const complex& r) 62 | { 63 | double f = ths->re * r.re - ths->im * r.im; 64 | ths->im = ths->re * r.im + ths->im * r.re; 65 | ths->re = f; 66 | return *ths; 67 | } 68 | 69 | inline complex& 70 | complex::operator *= (const complex& r) 71 | { 72 | return __doaml (this, r); 73 | } 74 | 75 | inline double 76 | imag (const complex& x) 77 | { 78 | return x.imag (); 79 | } 80 | 81 | inline double 82 | real (const complex& x) 83 | { 84 | return x.real (); 85 | } 86 | 87 | inline complex 88 | operator + (const complex& x, const complex& y) 89 | { 90 | return complex (real (x) + real (y), imag (x) + imag (y)); 91 | } 92 | 93 | inline complex 94 | operator + (const complex& x, double y) 95 | { 96 | return complex (real (x) + y, imag (x)); 97 | } 98 | 99 | inline complex 100 | operator + (double x, const complex& y) 101 | { 102 | return complex (x + real (y), imag (y)); 103 | } 104 | 105 | inline complex 106 | operator - (const complex& x, const complex& y) 107 | { 108 | return complex (real (x) - real (y), imag (x) - imag (y)); 109 | } 110 | 111 | inline complex 112 | operator - (const complex& x, double y) 113 | { 114 | return complex (real (x) - y, imag (x)); 115 | } 116 | 117 | inline complex 118 | operator - (double x, const complex& y) 119 | { 120 | return complex (x - real (y), - imag (y)); 121 | } 122 | 123 | inline complex 124 | operator * (const complex& x, const complex& y) 125 | { 126 | return complex (real (x) * real (y) - imag (x) * imag (y), 127 | real (x) * imag (y) + imag (x) * real (y)); 128 | } 129 | 130 | inline complex 131 | operator * (const complex& x, double y) 132 | { 133 | return complex (real (x) * y, imag (x) * y); 134 | } 135 | 136 | inline complex 137 | operator * (double x, const complex& y) 138 | { 139 | return complex (x * real (y), x * imag (y)); 140 | } 141 | 142 | complex 143 | operator / (const complex& x, double y) 144 | { 145 | return complex (real (x) / y, imag (x) / y); 146 | } 147 | 148 | inline complex 149 | operator + (const complex& x) 150 | { 151 | return x; 152 | } 153 | 154 | inline complex 155 | operator - (const complex& x) 156 | { 157 | return complex (-real (x), -imag (x)); 158 | } 159 | 160 | inline bool 161 | operator == (const complex& x, const complex& y) 162 | { 163 | return real (x) == real (y) && imag (x) == imag (y); 164 | } 165 | 166 | inline bool 167 | operator == (const complex& x, double y) 168 | { 169 | return real (x) == y && imag (x) == 0; 170 | } 171 | 172 | inline bool 173 | operator == (double x, const complex& y) 174 | { 175 | return x == real (y) && imag (y) == 0; 176 | } 177 | 178 | inline bool 179 | operator != (const complex& x, const complex& y) 180 | { 181 | return real (x) != real (y) || imag (x) != imag (y); 182 | } 183 | 184 | inline bool 185 | operator != (const complex& x, double y) 186 | { 187 | return real (x) != y || imag (x) != 0; 188 | } 189 | 190 | inline bool 191 | operator != (double x, const complex& y) 192 | { 193 | return x != real (y) || imag (y) != 0; 194 | } 195 | 196 | #include 197 | 198 | inline complex 199 | polar (double r, double t) 200 | { 201 | return complex (r * cos (t), r * sin (t)); 202 | } 203 | 204 | inline complex 205 | conj (const complex& x) 206 | { 207 | return complex (real (x), -imag (x)); 208 | } 209 | 210 | inline double 211 | norm (const complex& x) 212 | { 213 | return real (x) * real (x) + imag (x) * imag (x); 214 | } 215 | 216 | #endif //__MYCOMPLEX__ 217 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/main.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/main.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/main.dir/flags.make 78 | 79 | CMakeFiles/main.dir/main.cpp.o: CMakeFiles/main.dir/flags.make 80 | CMakeFiles/main.dir/main.cpp.o: ../main.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/main.dir/main.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/main.dir/main.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 83 | 84 | CMakeFiles/main.dir/main.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/main.dir/main.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp > CMakeFiles/main.dir/main.cpp.i 87 | 88 | CMakeFiles/main.dir/main.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/main.dir/main.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp -o CMakeFiles/main.dir/main.cpp.s 91 | 92 | # Object files for target main 93 | main_OBJECTS = \ 94 | "CMakeFiles/main.dir/main.cpp.o" 95 | 96 | # External object files for target main 97 | main_EXTERNAL_OBJECTS = 98 | 99 | main: CMakeFiles/main.dir/main.cpp.o 100 | main: CMakeFiles/main.dir/build.make 101 | main: CMakeFiles/main.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable main" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/main.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/main.dir/build: main 107 | 108 | .PHONY : CMakeFiles/main.dir/build 109 | 110 | CMakeFiles/main.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/main.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/main.dir/clean 113 | 114 | CMakeFiles/main.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/main.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/main.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.17 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | # Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | 45 | # A target that is always out of date. 46 | cmake_force: 47 | 48 | .PHONY : cmake_force 49 | 50 | #============================================================================= 51 | # Set environment variables for the build. 52 | 53 | # The shell in which to execute make rules. 54 | SHELL = /bin/sh 55 | 56 | # The CMake executable. 57 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 58 | 59 | # The command to remove a file. 60 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 61 | 62 | # Escaping for special characters. 63 | EQUALS = = 64 | 65 | # The top-level source directory on which CMake was run. 66 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code 67 | 68 | # The top-level build directory on which CMake was run. 69 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug 70 | 71 | # Include any dependencies generated for this target. 72 | include CMakeFiles/code.dir/depend.make 73 | 74 | # Include the progress variables for this target. 75 | include CMakeFiles/code.dir/progress.make 76 | 77 | # Include the compile flags for this target's objects. 78 | include CMakeFiles/code.dir/flags.make 79 | 80 | CMakeFiles/code.dir/complex_test.cpp.o: CMakeFiles/code.dir/flags.make 81 | CMakeFiles/code.dir/complex_test.cpp.o: ../complex_test.cpp 82 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/code.dir/complex_test.cpp.o" 83 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/code.dir/complex_test.cpp.o -c /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex_test.cpp 84 | 85 | CMakeFiles/code.dir/complex_test.cpp.i: cmake_force 86 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/code.dir/complex_test.cpp.i" 87 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex_test.cpp > CMakeFiles/code.dir/complex_test.cpp.i 88 | 89 | CMakeFiles/code.dir/complex_test.cpp.s: cmake_force 90 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/code.dir/complex_test.cpp.s" 91 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/complex_test.cpp -o CMakeFiles/code.dir/complex_test.cpp.s 92 | 93 | # Object files for target code 94 | code_OBJECTS = \ 95 | "CMakeFiles/code.dir/complex_test.cpp.o" 96 | 97 | # External object files for target code 98 | code_EXTERNAL_OBJECTS = 99 | 100 | code: CMakeFiles/code.dir/complex_test.cpp.o 101 | code: CMakeFiles/code.dir/build.make 102 | code: CMakeFiles/code.dir/link.txt 103 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable code" 104 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/code.dir/link.txt --verbose=$(VERBOSE) 105 | 106 | # Rule to build all files generated by this target. 107 | CMakeFiles/code.dir/build: code 108 | 109 | .PHONY : CMakeFiles/code.dir/build 110 | 111 | CMakeFiles/code.dir/clean: 112 | $(CMAKE_COMMAND) -P CMakeFiles/code.dir/cmake_clean.cmake 113 | .PHONY : CMakeFiles/code.dir/clean 114 | 115 | CMakeFiles/code.dir/depend: 116 | cd /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug /Users/jinzhuoqun/MyGreenna/Notes/LearningC++/c++高级开发【侯捷】/code/cmake-build-debug/CMakeFiles/code.dir/DependInfo.cmake --color=$(COLOR) 117 | .PHONY : CMakeFiles/code.dir/depend 118 | 119 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/Chapter4.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/Chapter4.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/Chapter4.dir/flags.make 78 | 79 | CMakeFiles/Chapter4.dir/main.cpp.o: CMakeFiles/Chapter4.dir/flags.make 80 | CMakeFiles/Chapter4.dir/main.cpp.o: ../main.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/Chapter4.dir/main.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Chapter4.dir/main.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp 83 | 84 | CMakeFiles/Chapter4.dir/main.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Chapter4.dir/main.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp > CMakeFiles/Chapter4.dir/main.cpp.i 87 | 88 | CMakeFiles/Chapter4.dir/main.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Chapter4.dir/main.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/main.cpp -o CMakeFiles/Chapter4.dir/main.cpp.s 91 | 92 | # Object files for target Chapter4 93 | Chapter4_OBJECTS = \ 94 | "CMakeFiles/Chapter4.dir/main.cpp.o" 95 | 96 | # External object files for target Chapter4 97 | Chapter4_EXTERNAL_OBJECTS = 98 | 99 | Chapter4: CMakeFiles/Chapter4.dir/main.cpp.o 100 | Chapter4: CMakeFiles/Chapter4.dir/build.make 101 | Chapter4: CMakeFiles/Chapter4.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable Chapter4" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Chapter4.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/Chapter4.dir/build: Chapter4 107 | 108 | .PHONY : CMakeFiles/Chapter4.dir/build 109 | 110 | CMakeFiles/Chapter4.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/Chapter4.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/Chapter4.dir/clean 113 | 114 | CMakeFiles/Chapter4.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/Chapter4.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/Chapter4.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/Chapter5.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/Chapter5.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/Chapter5.dir/flags.make 78 | 79 | CMakeFiles/Chapter5.dir/main.cpp.o: CMakeFiles/Chapter5.dir/flags.make 80 | CMakeFiles/Chapter5.dir/main.cpp.o: ../main.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/Chapter5.dir/main.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Chapter5.dir/main.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp 83 | 84 | CMakeFiles/Chapter5.dir/main.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Chapter5.dir/main.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp > CMakeFiles/Chapter5.dir/main.cpp.i 87 | 88 | CMakeFiles/Chapter5.dir/main.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Chapter5.dir/main.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/main.cpp -o CMakeFiles/Chapter5.dir/main.cpp.s 91 | 92 | # Object files for target Chapter5 93 | Chapter5_OBJECTS = \ 94 | "CMakeFiles/Chapter5.dir/main.cpp.o" 95 | 96 | # External object files for target Chapter5 97 | Chapter5_EXTERNAL_OBJECTS = 98 | 99 | Chapter5: CMakeFiles/Chapter5.dir/main.cpp.o 100 | Chapter5: CMakeFiles/Chapter5.dir/build.make 101 | Chapter5: CMakeFiles/Chapter5.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable Chapter5" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Chapter5.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/Chapter5.dir/build: Chapter5 107 | 108 | .PHONY : CMakeFiles/Chapter5.dir/build 109 | 110 | CMakeFiles/Chapter5.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/Chapter5.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/Chapter5.dir/clean 113 | 114 | CMakeFiles/Chapter5.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/Chapter5.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/Chapter5.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/exericse6_4.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/exericse6_4.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/exericse6_4.dir/flags.make 78 | 79 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o: CMakeFiles/exericse6_4.dir/flags.make 80 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o: ../exericse6_4.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp 83 | 84 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/exericse6_4.dir/exericse6_4.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp > CMakeFiles/exericse6_4.dir/exericse6_4.cpp.i 87 | 88 | CMakeFiles/exericse6_4.dir/exericse6_4.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/exericse6_4.dir/exericse6_4.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/exericse6_4.cpp -o CMakeFiles/exericse6_4.dir/exericse6_4.cpp.s 91 | 92 | # Object files for target exericse6_4 93 | exericse6_4_OBJECTS = \ 94 | "CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o" 95 | 96 | # External object files for target exericse6_4 97 | exericse6_4_EXTERNAL_OBJECTS = 98 | 99 | exericse6_4: CMakeFiles/exericse6_4.dir/exericse6_4.cpp.o 100 | exericse6_4: CMakeFiles/exericse6_4.dir/build.make 101 | exericse6_4: CMakeFiles/exericse6_4.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable exericse6_4" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/exericse6_4.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/exericse6_4.dir/build: exericse6_4 107 | 108 | .PHONY : CMakeFiles/exericse6_4.dir/build 109 | 110 | CMakeFiles/exericse6_4.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/exericse6_4.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/exericse6_4.dir/clean 113 | 114 | CMakeFiles/exericse6_4.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter5/cmake-build-debug/CMakeFiles/exericse6_4.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/exericse6_4.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/exercise5_14.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/exercise5_14.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/exercise5_14.dir/flags.make 78 | 79 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o: CMakeFiles/exercise5_14.dir/flags.make 80 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o: ../exercise5_14.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp 83 | 84 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/exercise5_14.dir/exercise5_14.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp > CMakeFiles/exercise5_14.dir/exercise5_14.cpp.i 87 | 88 | CMakeFiles/exercise5_14.dir/exercise5_14.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/exercise5_14.dir/exercise5_14.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_14.cpp -o CMakeFiles/exercise5_14.dir/exercise5_14.cpp.s 91 | 92 | # Object files for target exercise5_14 93 | exercise5_14_OBJECTS = \ 94 | "CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o" 95 | 96 | # External object files for target exercise5_14 97 | exercise5_14_EXTERNAL_OBJECTS = 98 | 99 | exercise5_14: CMakeFiles/exercise5_14.dir/exercise5_14.cpp.o 100 | exercise5_14: CMakeFiles/exercise5_14.dir/build.make 101 | exercise5_14: CMakeFiles/exercise5_14.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable exercise5_14" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/exercise5_14.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/exercise5_14.dir/build: exercise5_14 107 | 108 | .PHONY : CMakeFiles/exercise5_14.dir/build 109 | 110 | CMakeFiles/exercise5_14.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/exercise5_14.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/exercise5_14.dir/clean 113 | 114 | CMakeFiles/exercise5_14.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_14.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/exercise5_14.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/exercise5_19.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/exercise5_19.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/exercise5_19.dir/flags.make 78 | 79 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o: CMakeFiles/exercise5_19.dir/flags.make 80 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o: ../exercise5_19.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.cpp 83 | 84 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/exercise5_19.dir/exercise5_19.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.cpp > CMakeFiles/exercise5_19.dir/exercise5_19.cpp.i 87 | 88 | CMakeFiles/exercise5_19.dir/exercise5_19.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/exercise5_19.dir/exercise5_19.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_19.cpp -o CMakeFiles/exercise5_19.dir/exercise5_19.cpp.s 91 | 92 | # Object files for target exercise5_19 93 | exercise5_19_OBJECTS = \ 94 | "CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o" 95 | 96 | # External object files for target exercise5_19 97 | exercise5_19_EXTERNAL_OBJECTS = 98 | 99 | exercise5_19: CMakeFiles/exercise5_19.dir/exercise5_19.cpp.o 100 | exercise5_19: CMakeFiles/exercise5_19.dir/build.make 101 | exercise5_19: CMakeFiles/exercise5_19.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable exercise5_19" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/exercise5_19.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/exercise5_19.dir/build: exercise5_19 107 | 108 | .PHONY : CMakeFiles/exercise5_19.dir/build 109 | 110 | CMakeFiles/exercise5_19.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/exercise5_19.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/exercise5_19.dir/clean 113 | 114 | CMakeFiles/exercise5_19.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_19.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/exercise5_19.dir/depend 117 | 118 | -------------------------------------------------------------------------------- /Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.19 3 | 4 | # Delete rule output on recipe failure. 5 | .DELETE_ON_ERROR: 6 | 7 | 8 | #============================================================================= 9 | # Special targets provided by cmake. 10 | 11 | # Disable implicit rules so canonical targets will work. 12 | .SUFFIXES: 13 | 14 | 15 | # Disable VCS-based implicit rules. 16 | % : %,v 17 | 18 | 19 | # Disable VCS-based implicit rules. 20 | % : RCS/% 21 | 22 | 23 | # Disable VCS-based implicit rules. 24 | % : RCS/%,v 25 | 26 | 27 | # Disable VCS-based implicit rules. 28 | % : SCCS/s.% 29 | 30 | 31 | # Disable VCS-based implicit rules. 32 | % : s.% 33 | 34 | 35 | .SUFFIXES: .hpux_make_needs_suffix_list 36 | 37 | 38 | # Command-line flag to silence nested $(MAKE). 39 | $(VERBOSE)MAKESILENT = -s 40 | 41 | #Suppress display of executed commands. 42 | $(VERBOSE).SILENT: 43 | 44 | # A target that is always out of date. 45 | cmake_force: 46 | 47 | .PHONY : cmake_force 48 | 49 | #============================================================================= 50 | # Set environment variables for the build. 51 | 52 | # The shell in which to execute make rules. 53 | SHELL = /bin/sh 54 | 55 | # The CMake executable. 56 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake 57 | 58 | # The command to remove a file. 59 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E rm -f 60 | 61 | # Escaping for special characters. 62 | EQUALS = = 63 | 64 | # The top-level source directory on which CMake was run. 65 | CMAKE_SOURCE_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 66 | 67 | # The top-level build directory on which CMake was run. 68 | CMAKE_BINARY_DIR = /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug 69 | 70 | # Include any dependencies generated for this target. 71 | include CMakeFiles/exercise5_20.dir/depend.make 72 | 73 | # Include the progress variables for this target. 74 | include CMakeFiles/exercise5_20.dir/progress.make 75 | 76 | # Include the compile flags for this target's objects. 77 | include CMakeFiles/exercise5_20.dir/flags.make 78 | 79 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o: CMakeFiles/exercise5_20.dir/flags.make 80 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o: ../exercise5_20.cpp 81 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o" 82 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o -c /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.cpp 83 | 84 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.i: cmake_force 85 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/exercise5_20.dir/exercise5_20.cpp.i" 86 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.cpp > CMakeFiles/exercise5_20.dir/exercise5_20.cpp.i 87 | 88 | CMakeFiles/exercise5_20.dir/exercise5_20.cpp.s: cmake_force 89 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/exercise5_20.dir/exercise5_20.cpp.s" 90 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/exercise5_20.cpp -o CMakeFiles/exercise5_20.dir/exercise5_20.cpp.s 91 | 92 | # Object files for target exercise5_20 93 | exercise5_20_OBJECTS = \ 94 | "CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o" 95 | 96 | # External object files for target exercise5_20 97 | exercise5_20_EXTERNAL_OBJECTS = 98 | 99 | exercise5_20: CMakeFiles/exercise5_20.dir/exercise5_20.cpp.o 100 | exercise5_20: CMakeFiles/exercise5_20.dir/build.make 101 | exercise5_20: CMakeFiles/exercise5_20.dir/link.txt 102 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable exercise5_20" 103 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/exercise5_20.dir/link.txt --verbose=$(VERBOSE) 104 | 105 | # Rule to build all files generated by this target. 106 | CMakeFiles/exercise5_20.dir/build: exercise5_20 107 | 108 | .PHONY : CMakeFiles/exercise5_20.dir/build 109 | 110 | CMakeFiles/exercise5_20.dir/clean: 111 | $(CMAKE_COMMAND) -P CMakeFiles/exercise5_20.dir/cmake_clean.cmake 112 | .PHONY : CMakeFiles/exercise5_20.dir/clean 113 | 114 | CMakeFiles/exercise5_20.dir/depend: 115 | cd /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4 /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug /Users/jinzhuoqun/Documents/LearningCPlusPlus/Code/Chapter4/cmake-build-debug/CMakeFiles/exercise5_20.dir/DependInfo.cmake --color=$(COLOR) 116 | .PHONY : CMakeFiles/exercise5_20.dir/depend 117 | 118 | --------------------------------------------------------------------------------