├── DllDemo
├── BeCalledPart
│ ├── stdafx.cpp
│ ├── BeCalledPart.cpp
│ ├── ExportDef.h
│ ├── BeCalledPart.vcxproj.user
│ ├── targetver.h
│ ├── CoreUtils.h
│ ├── CoreUtils.cpp
│ ├── stdafx.h
│ ├── dllmain.cpp
│ └── BeCalledPart.vcxproj.filters
├── CallPart
│ ├── pch.cpp
│ ├── CallPart.vcxproj.user
│ ├── pch.h
│ ├── CallPart.cpp
│ └── CallPart.vcxproj.filters
└── DllDemo.sln
├── HeapSort
├── cmake-build-debug
│ ├── CMakeFiles
│ │ ├── progress.marks
│ │ ├── clion-environment.txt
│ │ ├── HeapSort.dir
│ │ │ ├── progress.make
│ │ │ ├── main.cpp.o
│ │ │ ├── depend.make
│ │ │ ├── depend.internal
│ │ │ ├── link.txt
│ │ │ ├── CXX.includecache
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── flags.make
│ │ │ ├── DependInfo.cmake
│ │ │ └── build.make
│ │ ├── cmake.check_cache
│ │ ├── 3.15.3
│ │ │ ├── CompilerIdC
│ │ │ │ └── a.out
│ │ │ ├── CompilerIdCXX
│ │ │ │ └── a.out
│ │ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ │ ├── CMakeSystem.cmake
│ │ │ ├── CMakeCCompiler.cmake
│ │ │ └── CMakeCXXCompiler.cmake
│ │ ├── TargetDirectories.txt
│ │ ├── clion-log.txt
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── Makefile.cmake
│ │ └── Makefile2
│ ├── HeapSort
│ ├── cmake_install.cmake
│ ├── Makefile
│ └── HeapSort.cbp
├── .idea
│ ├── .gitignore
│ ├── HeapSort.iml
│ ├── vcs.xml
│ ├── misc.xml
│ └── modules.xml
├── CMakeLists.txt
└── main.cpp
├── ProcessFork
├── .idea
│ ├── .gitignore
│ ├── ProcessFork.iml
│ ├── vcs.xml
│ ├── misc.xml
│ └── modules.xml
├── CMakeLists.txt
└── main.cpp
├── TemplateTest
├── specialT
├── TemplateTest
│ ├── pch.cpp
│ ├── TemplateTest.vcxproj.user
│ ├── pch.h
│ ├── TemplateTest.cpp
│ └── TemplateTest.vcxproj.filters
├── specialT.dSYM
│ └── Contents
│ │ ├── Resources
│ │ └── DWARF
│ │ │ └── specialT
│ │ └── Info.plist
├── specialT.cpp
└── TemplateTest.sln
├── Inherit
├── Inherit
│ ├── Inherit.h
│ ├── stdafx.h
│ ├── Father.cpp
│ ├── Inherit.aps
│ ├── Inherit.cpp
│ ├── Inherit.rc
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── targetver.h
│ ├── Children.cpp
│ ├── InheritDlg.cpp
│ ├── InheritDlg.h
│ ├── Father.h
│ ├── Children.h
│ ├── ReadMe.txt
│ └── Inherit.vcxproj.filters
└── Inherit.sln
├── DllUpdate
├── Dll1
│ ├── pch.cpp
│ ├── framework.h
│ ├── Dll1.vcxproj.user
│ ├── ExDefine.h
│ ├── ExportClass1.cpp
│ ├── ExportClass1.h
│ ├── pch.h
│ ├── dllmain.cpp
│ └── Dll1.vcxproj.filters
├── DllUpdate
│ ├── DllUpdate.vcxproj.user
│ ├── DllUpdate.cpp
│ ├── DllUpdate.vcxproj.filters
│ └── DllUpdate.vcxproj
└── DllUpdate.sln
├── FindWindow
├── FindWindow
│ ├── stdafx.h
│ ├── PopUpDlg.h
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── FindWindow.h
│ ├── FindWindow.rc
│ ├── PopUpDlg.cpp
│ ├── targetver.h
│ ├── FindWindow.aps
│ ├── FindWindow.cpp
│ ├── FindWindowDlg.h
│ ├── FindWindowDlg.cpp
│ ├── FindWindow.vcxproj.filters
│ └── ReadMe.txt
└── FindWindow.sln
├── MallocDemo
├── MallocDemo.v12.suo
├── MallocDemo
│ ├── stdafx.h
│ ├── resource.h
│ ├── stdafx.cpp
│ ├── MallocDemo.h
│ ├── MallocDemo.rc
│ ├── targetver.h
│ ├── MallocDemo.aps
│ ├── MallocDemo.cpp
│ ├── MallocDemoDlg.h
│ ├── MallocDemoDlg.cpp
│ ├── res
│ │ ├── MallocDemo.ico
│ │ └── MallocDemo.rc2
│ ├── MallocDemo.vcxproj.filters
│ └── ReadMe.txt
└── MallocDemo.sln
├── sockProc
├── .idea
│ ├── sockProc.iml
│ ├── vcs.xml
│ ├── misc.xml
│ └── modules.xml
└── CMakeLists.txt
├── PtrTest
├── PtrTest
│ ├── pch.cpp
│ ├── PtrTest.vcxproj.user
│ ├── pch.h
│ ├── PtrTest.vcxproj.filters
│ └── PtrTest.cpp
└── PtrTest.sln
├── TempleteSort
├── TempleteSort.v12.suo
├── TempleteSort
│ ├── stdafx.h
│ ├── targetver.h
│ ├── TempleteSort.cpp
│ ├── TempleteSort.vcxproj.user
│ ├── algorithm_search.h
│ ├── ReadMe.txt
│ ├── TempleteSort.vcxproj.filters
│ ├── algorithm_sort.h
│ └── TempleteSort.vcxproj
└── TempleteSort.sln
├── BoostFunction
├── .idea
│ ├── BoostFunction.iml
│ ├── misc.xml
│ └── modules.xml
├── main.cpp
└── CMakeLists.txt
├── DataStructure
├── DataStructure
│ ├── 4List.cpp
│ ├── 3Aarray.cpp
│ ├── 5Stack.cpp
│ ├── 6Queue.cpp
│ ├── 1TimeComplexity.cpp
│ ├── 2SpaceComplexity.cpp
│ ├── DataStructure.vcxproj.user
│ ├── DataStructure.cpp
│ ├── DataStructure.vcxproj.filters
│ └── DataStructure.vcxproj
└── DataStructure.sln
├── ExceptionDemo
├── ExceptionDemo
│ ├── pch.cpp
│ ├── ExceptionDemo.vcxproj.user
│ ├── pch.h
│ ├── ExceptionDemo.cpp
│ └── ExceptionDemo.vcxproj.filters
└── ExceptionDemo.sln
├── IteratorDelete
├── .idea
│ ├── IteratorDelete.iml
│ ├── misc.xml
│ ├── modules.xml
│ └── workspace.xml
├── CMakeLists.txt
└── main.cpp
├── PtrMethod
├── PtrMethod
│ ├── PtrMethod.vcxproj.user
│ ├── PtrMethod.vcxproj.filters
│ ├── PtrMethod.cpp
│ └── PtrMethod.vcxproj
└── PtrMethod.sln
├── OpenMPDemo
├── OpenMPDemo
│ ├── OpenMPDemo.vcxproj.user
│ ├── OpenMPDemo.cpp
│ ├── OpenMPDemo.vcxproj.filters
│ └── OpenMPDemo.vcxproj
└── OpenMPDemo.sln
├── PtrMemoryLeak
├── PtrMemoryLeak
│ ├── PtrMemoryLeak.vcxproj.user
│ ├── PtrMemoryLeak.cpp
│ ├── PtrMemoryLeak.vcxproj.filters
│ └── PtrMemoryLeak.vcxproj
└── PtrMemoryLeak.sln
├── VirtualRelease
├── VirtualRelease
│ ├── VirtualRelease.vcxproj.user
│ ├── VirtualRelease.cpp
│ ├── VirtualRelease.vcxproj.filters
│ └── VirtualRelease.vcxproj
└── VirtualRelease.sln
├── PyKafka
├── PyKafka
│ ├── Consumer.py
│ ├── Producer.py
│ └── PyKafka.pyproj
├── storm启动.txt
└── PyKafka.sln
├── .gitignore
└── .vscode
├── launch.json
└── tasks.json
/DllDemo/BeCalledPart/stdafx.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 2
2 |
--------------------------------------------------------------------------------
/HeapSort/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /workspace.xml
--------------------------------------------------------------------------------
/ProcessFork/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /workspace.xml
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/clion-environment.txt:
--------------------------------------------------------------------------------
1 | ToolSet: 1.0 (local)Options:
2 |
3 | Options:
--------------------------------------------------------------------------------
/TemplateTest/specialT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TemplateTest/specialT
--------------------------------------------------------------------------------
/Inherit/Inherit/Inherit.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Inherit.h
--------------------------------------------------------------------------------
/Inherit/Inherit/stdafx.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/stdafx.h
--------------------------------------------------------------------------------
/DllUpdate/Dll1/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: 与预编译标头对应的源文件
2 |
3 | #include "pch.h"
4 |
5 | // 当使用预编译的头时,需要使用此源文件,编译才能成功。
6 |
--------------------------------------------------------------------------------
/Inherit/Inherit/Father.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Father.cpp
--------------------------------------------------------------------------------
/Inherit/Inherit/Inherit.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Inherit.aps
--------------------------------------------------------------------------------
/Inherit/Inherit/Inherit.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Inherit.cpp
--------------------------------------------------------------------------------
/Inherit/Inherit/Inherit.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Inherit.rc
--------------------------------------------------------------------------------
/Inherit/Inherit/resource.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/resource.h
--------------------------------------------------------------------------------
/Inherit/Inherit/stdafx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/stdafx.cpp
--------------------------------------------------------------------------------
/Inherit/Inherit/targetver.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/targetver.h
--------------------------------------------------------------------------------
/FindWindow/FindWindow/stdafx.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/stdafx.h
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 1
2 | CMAKE_PROGRESS_2 = 2
3 |
4 |
--------------------------------------------------------------------------------
/Inherit/Inherit/Children.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/Children.cpp
--------------------------------------------------------------------------------
/Inherit/Inherit/InheritDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/InheritDlg.cpp
--------------------------------------------------------------------------------
/Inherit/Inherit/InheritDlg.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/Inherit/Inherit/InheritDlg.h
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo.v12.suo
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/stdafx.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/stdafx.h
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/BeCalledPart.cpp:
--------------------------------------------------------------------------------
1 | // BeCalledPart.cpp : 定义 DLL 应用程序的导出函数。
2 | //
3 |
4 | #include "stdafx.h"
5 |
6 |
7 |
--------------------------------------------------------------------------------
/FindWindow/FindWindow/PopUpDlg.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/PopUpDlg.h
--------------------------------------------------------------------------------
/FindWindow/FindWindow/resource.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/resource.h
--------------------------------------------------------------------------------
/FindWindow/FindWindow/stdafx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/stdafx.cpp
--------------------------------------------------------------------------------
/HeapSort/.idea/HeapSort.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/resource.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/resource.h
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/stdafx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/stdafx.cpp
--------------------------------------------------------------------------------
/sockProc/.idea/sockProc.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/DllDemo/CallPart/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: 与预编译标头对应的源文件;编译成功所必需的
2 |
3 | #include "pch.h"
4 |
5 | // 一般情况下,忽略此文件,但如果你使用的是预编译标头,请保留它。
6 |
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindow.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindow.h
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindow.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindow.rc
--------------------------------------------------------------------------------
/FindWindow/FindWindow/PopUpDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/PopUpDlg.cpp
--------------------------------------------------------------------------------
/FindWindow/FindWindow/targetver.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/targetver.h
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/HeapSort:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/HeapSort
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemo.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemo.h
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemo.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemo.rc
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/targetver.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/targetver.h
--------------------------------------------------------------------------------
/PtrTest/PtrTest/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: 与预编译标头对应的源文件;编译成功所必需的
2 |
3 | #include "pch.h"
4 |
5 | // 一般情况下,忽略此文件,但如果你使用的是预编译标头,请保留它。
6 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort.v12.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TempleteSort/TempleteSort.v12.suo
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/stdafx.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TempleteSort/TempleteSort/stdafx.h
--------------------------------------------------------------------------------
/BoostFunction/.idea/BoostFunction.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/DataStructure/DataStructure/4List.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/4List.cpp
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindow.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindow.aps
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindow.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindow.cpp
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindowDlg.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindowDlg.h
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemo.aps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemo.aps
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemo.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemo.cpp
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemoDlg.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemoDlg.h
--------------------------------------------------------------------------------
/ProcessFork/.idea/ProcessFork.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/targetver.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TempleteSort/TempleteSort/targetver.h
--------------------------------------------------------------------------------
/DataStructure/DataStructure/3Aarray.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/3Aarray.cpp
--------------------------------------------------------------------------------
/DataStructure/DataStructure/5Stack.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/5Stack.cpp
--------------------------------------------------------------------------------
/DataStructure/DataStructure/6Queue.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/6Queue.cpp
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: 与预编译标头对应的源文件;编译成功所必需的
2 |
3 | #include "pch.h"
4 |
5 | // 一般情况下,忽略此文件,但如果你使用的是预编译标头,请保留它。
6 |
--------------------------------------------------------------------------------
/FindWindow/FindWindow/FindWindowDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/FindWindow/FindWindow/FindWindowDlg.cpp
--------------------------------------------------------------------------------
/IteratorDelete/.idea/IteratorDelete.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemoDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/MallocDemoDlg.cpp
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/res/MallocDemo.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/res/MallocDemo.ico
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/res/MallocDemo.rc2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/MallocDemo/MallocDemo/res/MallocDemo.rc2
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: 与预编译标头对应的源文件;编译成功所必需的
2 |
3 | #include "pch.h"
4 |
5 | // 一般情况下,忽略此文件,但如果你使用的是预编译标头,请保留它。
6 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/cmake.check_cache:
--------------------------------------------------------------------------------
1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file
2 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/TempleteSort.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TempleteSort/TempleteSort/TempleteSort.cpp
--------------------------------------------------------------------------------
/DataStructure/DataStructure/1TimeComplexity.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/1TimeComplexity.cpp
--------------------------------------------------------------------------------
/sockProc/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(sockProc C)
3 |
4 | set(CMAKE_C_STANDARD 99)
5 |
6 | add_executable(sockProc main.c)
--------------------------------------------------------------------------------
/DataStructure/DataStructure/2SpaceComplexity.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/DataStructure/DataStructure/2SpaceComplexity.cpp
--------------------------------------------------------------------------------
/DllUpdate/Dll1/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容
4 | // Windows 头文件
5 | #include
6 |
--------------------------------------------------------------------------------
/HeapSort/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.15)
2 | project(HeapSort)
3 |
4 | set(CMAKE_CXX_STANDARD 17)
5 |
6 | add_executable(HeapSort main.cpp)
--------------------------------------------------------------------------------
/ProcessFork/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(ProcessFork)
3 |
4 | set(CMAKE_CXX_STANDARD 14)
5 |
6 | add_executable(ProcessFork main.cpp)
--------------------------------------------------------------------------------
/IteratorDelete/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(IteratorDelete)
3 |
4 | set(CMAKE_CXX_STANDARD 17)
5 |
6 | add_executable(IteratorDelete main.cpp)
--------------------------------------------------------------------------------
/TemplateTest/specialT.dSYM/Contents/Resources/DWARF/specialT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/TemplateTest/specialT.dSYM/Contents/Resources/DWARF/specialT
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CompilerIdC/a.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CompilerIdC/a.out
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/main.cpp.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/main.cpp.o
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CompilerIdCXX/a.out:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CompilerIdCXX/a.out
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/ExportDef.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #if defined (__BECALLEDPART_BUILD__)
3 | #define DLL_API __declspec(dllexport)
4 | #else
5 | #define DLL_API __declspec(dllimport)
6 | #endif
--------------------------------------------------------------------------------
/DllUpdate/Dll1/Dll1.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DllUpdate/Dll1/ExDefine.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #ifdef Dll1Exprot
3 | #define DLL_EXPORT_DECL __declspec(dllexport)
4 | #endif
5 | #ifndef Dll1Exprot
6 | #define DLL_EXPORT_DECL __declspec(dllimport)
7 | #endif
--------------------------------------------------------------------------------
/Inherit/Inherit/Father.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | class Father
3 | {
4 | public:
5 | Father();
6 | ~Father();
7 | public:
8 | virtual void ShowMessage();
9 | virtual int ShowString();
10 | };
11 |
12 |
--------------------------------------------------------------------------------
/PtrTest/PtrTest/PtrTest.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DllDemo/CallPart/CallPart.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/BeCalledPart.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DllUpdate/DllUpdate/DllUpdate.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeDetermineCompilerABI_C.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeDetermineCompilerABI_C.bin
--------------------------------------------------------------------------------
/PtrMethod/PtrMethod/PtrMethod.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeDetermineCompilerABI_CXX.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/MethodJiao/AlgorithmCodeCPP/HEAD/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeDetermineCompilerABI_CXX.bin
--------------------------------------------------------------------------------
/OpenMPDemo/OpenMPDemo/OpenMPDemo.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest/TemplateTest.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/TempleteSort.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DataStructure/DataStructure/DataStructure.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo/ExceptionDemo.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/HeapSort/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/ProcessFork/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/PtrMemoryLeak/PtrMemoryLeak/PtrMemoryLeak.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/sockProc/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | CMakeFiles/HeapSort.dir/main.cpp.o: ../main.cpp
5 |
6 |
--------------------------------------------------------------------------------
/VirtualRelease/VirtualRelease/VirtualRelease.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
4 |
5 | // 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h,并
6 | // 将 _WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/DllUpdate/Dll1/ExportClass1.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "ExportClass1.h"
3 |
4 |
5 | ExportClass1::ExportClass1()
6 | {
7 | }
8 |
9 |
10 | ExportClass1::~ExportClass1()
11 | {
12 | }
13 |
14 | void ExportClass1::Method1()
15 | {
16 | int a = 0;
17 | }
18 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | CMakeFiles/HeapSort.dir/main.cpp.o
5 | /Users/method.jiao/Documents/C++Demo/HeapSort/main.cpp
6 |
--------------------------------------------------------------------------------
/DllUpdate/Dll1/ExportClass1.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | class ExportClass1
3 | {
4 | public:
5 | DLL_EXPORT_DECL ExportClass1();
6 | DLL_EXPORT_DECL ~ExportClass1();
7 | DLL_EXPORT_DECL void Method1();
8 |
9 | DLL_EXPORT_DECL void Method2() { int a = 0; };
10 | };
11 |
12 |
--------------------------------------------------------------------------------
/HeapSort/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/sockProc/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/BoostFunction/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.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/HeapSort.dir/main.cpp.o -o HeapSort
2 |
--------------------------------------------------------------------------------
/IteratorDelete/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/ProcessFork/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/PyKafka/PyKafka/Consumer.py:
--------------------------------------------------------------------------------
1 | from kafka import KafkaConsumer
2 | import time
3 | consumer = KafkaConsumer('test',group_id='123', bootstrap_servers=['39.105.126.10:9092'])
4 |
5 | while True:
6 | msg = consumer.poll(timeout_ms=5) #从kafka拉取消息
7 | print(msg)
8 | time.sleep(1)
9 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/CoreUtils.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "ExportDef.h"
3 | #include
4 | using namespace std;
5 | class CoreUtils
6 | {
7 | public:
8 | DLL_API CoreUtils();
9 | DLL_API ~CoreUtils();
10 |
11 | public:
12 | DLL_API string GetOwnClassName();
13 | };
14 |
15 |
--------------------------------------------------------------------------------
/Inherit/Inherit/Children.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "Father.h"
3 | class Children :
4 | public Father
5 | {
6 | public:
7 | Children();
8 | ~Children();
9 | private:
10 | virtual int ShowString() override;
11 | virtual void ShowMessage() override;
12 | int m_int;
13 | };
14 |
15 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/CoreUtils.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 | #include "CoreUtils.h"
3 |
4 |
5 | CoreUtils::CoreUtils()
6 | {
7 | }
8 |
9 |
10 | CoreUtils::~CoreUtils()
11 | {
12 | }
13 |
14 | string CoreUtils::GetOwnClassName()
15 | {
16 | return "My ClassName is CoreUtils";
17 | }
18 |
--------------------------------------------------------------------------------
/HeapSort/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sockProc/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h: 标准系统包含文件的包含文件,
2 | // 或是经常使用但不常更改的
3 | // 项目特定的包含文件
4 | //
5 |
6 | #pragma once
7 |
8 | #include "targetver.h"
9 |
10 | #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容
11 | // Windows 头文件
12 | #include
13 |
14 |
15 |
16 | // 在此处引用程序需要的其他标头
17 |
--------------------------------------------------------------------------------
/ProcessFork/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BoostFunction/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/TargetDirectories.txt:
--------------------------------------------------------------------------------
1 | /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/rebuild_cache.dir
2 | /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/edit_cache.dir
3 | /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir
4 |
--------------------------------------------------------------------------------
/IteratorDelete/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ################################################################################
2 | # 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
3 | ################################################################################
4 |
5 | /.vs
6 | /DataStructure/.vs/DataStructure
7 | /DataStructure/DataStructure/x64/Debug
8 | /DataStructure/x64/Debug
9 |
--------------------------------------------------------------------------------
/DllUpdate/Dll1/pch.h:
--------------------------------------------------------------------------------
1 | // pch.h: 这是预编译标头文件。
2 | // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
3 | // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
4 | // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
5 | // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
6 |
7 | #ifndef PCH_H
8 | #define PCH_H
9 |
10 | // 添加要在此处预编译的标头
11 | #include "framework.h"
12 |
13 | #endif //PCH_H
14 | #include "ExDefine.h"
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/CXX.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | /Users/method.jiao/Documents/C++Demo/HeapSort/main.cpp
10 | iostream
11 | -
12 | queue
13 | -
14 |
15 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "CMakeFiles/HeapSort.dir/main.cpp.o"
3 | "HeapSort"
4 | "HeapSort.pdb"
5 | )
6 |
7 | # Per-language clean rules from dependency scanning.
8 | foreach(lang CXX)
9 | include(CMakeFiles/HeapSort.dir/cmake_clean_${lang}.cmake OPTIONAL)
10 | endforeach()
11 |
--------------------------------------------------------------------------------
/HeapSort/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/method.jiao/Documents/C++Demo/HeapSort
2 | -- Configuring done
3 | -- Generating done
4 | -- Build files have been written to: /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug
5 |
--------------------------------------------------------------------------------
/DllDemo/CallPart/pch.h:
--------------------------------------------------------------------------------
1 | // 入门提示:
2 | // 1. 使用解决方案资源管理器窗口添加/管理文件
3 | // 2. 使用团队资源管理器窗口连接到源代码管理
4 | // 3. 使用输出窗口查看生成输出和其他消息
5 | // 4. 使用错误列表窗口查看错误
6 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
7 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
8 |
9 | #ifndef PCH_H
10 | #define PCH_H
11 |
12 | // TODO: 添加要在此处预编译的标头
13 |
14 | #endif //PCH_H
15 |
--------------------------------------------------------------------------------
/PtrTest/PtrTest/pch.h:
--------------------------------------------------------------------------------
1 | // 入门提示:
2 | // 1. 使用解决方案资源管理器窗口添加/管理文件
3 | // 2. 使用团队资源管理器窗口连接到源代码管理
4 | // 3. 使用输出窗口查看生成输出和其他消息
5 | // 4. 使用错误列表窗口查看错误
6 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
7 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
8 |
9 | #ifndef PCH_H
10 | #define PCH_H
11 |
12 | // TODO: 添加要在此处预编译的标头
13 |
14 | #endif //PCH_H
15 |
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo/pch.h:
--------------------------------------------------------------------------------
1 | // 入门提示:
2 | // 1. 使用解决方案资源管理器窗口添加/管理文件
3 | // 2. 使用团队资源管理器窗口连接到源代码管理
4 | // 3. 使用输出窗口查看生成输出和其他消息
5 | // 4. 使用错误列表窗口查看错误
6 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
7 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
8 |
9 | #ifndef PCH_H
10 | #define PCH_H
11 |
12 | // TODO: 添加要在此处预编译的标头
13 |
14 | #endif //PCH_H
15 |
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest/pch.h:
--------------------------------------------------------------------------------
1 | // 入门提示:
2 | // 1. 使用解决方案资源管理器窗口添加/管理文件
3 | // 2. 使用团队资源管理器窗口连接到源代码管理
4 | // 3. 使用输出窗口查看生成输出和其他消息
5 | // 4. 使用错误列表窗口查看错误
6 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
7 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
8 |
9 | #ifndef PCH_H
10 | #define PCH_H
11 |
12 | // TODO: 添加要在此处预编译的标头
13 |
14 | #endif //PCH_H
15 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
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++1z
6 |
7 | CXX_DEFINES =
8 |
9 | CXX_INCLUDES =
10 |
11 |
--------------------------------------------------------------------------------
/PyKafka/PyKafka/Producer.py:
--------------------------------------------------------------------------------
1 | from kafka import KafkaProducer
2 | import json
3 | msg_dict = {
4 | "sleep_time": 10,
5 | "msg": "Hello World"
6 | }
7 | msg = json.dumps(msg_dict)
8 |
9 | producer = KafkaProducer(bootstrap_servers=['39.105.126.10:9092']) #此处ip可以是多个['0.0.0.1:9092','0.0.0.2:9092','0.0.0.3:9092' ]
10 | for i in range(3):
11 | producer.send('test', msg.encode('utf-8'))
12 | producer.close()
13 |
--------------------------------------------------------------------------------
/DllDemo/CallPart/CallPart.cpp:
--------------------------------------------------------------------------------
1 | // CallPart.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 | #include "pch.h"
4 | #include
5 | #include
6 |
7 | #pragma comment(lib,"BeCalledPart.lib")
8 | #include "../BeCalledPart/CoreUtils.h"
9 |
10 | using namespace std;
11 |
12 | int main()
13 | {
14 | CoreUtils coreUtils;
15 | string className = coreUtils.GetOwnClassName();
16 | std::cout << className << "\n";
17 | }
18 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeSystem.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_HOST_SYSTEM "Darwin-19.0.0")
2 | set(CMAKE_HOST_SYSTEM_NAME "Darwin")
3 | set(CMAKE_HOST_SYSTEM_VERSION "19.0.0")
4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
5 |
6 |
7 |
8 | set(CMAKE_SYSTEM "Darwin-19.0.0")
9 | set(CMAKE_SYSTEM_NAME "Darwin")
10 | set(CMAKE_SYSTEM_VERSION "19.0.0")
11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64")
12 |
13 | set(CMAKE_CROSSCOMPILING "FALSE")
14 |
15 | set(CMAKE_SYSTEM_LOADED 1)
16 |
--------------------------------------------------------------------------------
/BoostFunction/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include "boost/function.hpp"
3 | #include "boost/bind.hpp"
4 |
5 | class MyclassA {
6 | public:
7 | MyclassA() {};
8 |
9 | virtual ~MyclassA() {};
10 |
11 | int Method1(int num) {
12 | return num;
13 |
14 | };
15 |
16 | };
17 |
18 | int main() {
19 | MyclassA myclassA;
20 | boost::function functionPtr = boost::bind(&MyclassA::Method1, &myclassA, _1);
21 | int result = functionPtr(2);
22 | return 0;
23 | }
--------------------------------------------------------------------------------
/DllUpdate/Dll1/dllmain.cpp:
--------------------------------------------------------------------------------
1 | // dllmain.cpp : 定义 DLL 应用程序的入口点。
2 | #include "pch.h"
3 |
4 | BOOL APIENTRY DllMain( HMODULE hModule,
5 | DWORD ul_reason_for_call,
6 | LPVOID lpReserved
7 | )
8 | {
9 | switch (ul_reason_for_call)
10 | {
11 | case DLL_PROCESS_ATTACH:
12 | case DLL_THREAD_ATTACH:
13 | case DLL_THREAD_DETACH:
14 | case DLL_PROCESS_DETACH:
15 | break;
16 | }
17 | return TRUE;
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/dllmain.cpp:
--------------------------------------------------------------------------------
1 | // dllmain.cpp : 定义 DLL 应用程序的入口点。
2 | #include "stdafx.h"
3 |
4 | BOOL APIENTRY DllMain( HMODULE hModule,
5 | DWORD ul_reason_for_call,
6 | LPVOID lpReserved
7 | )
8 | {
9 | switch (ul_reason_for_call)
10 | {
11 | case DLL_PROCESS_ATTACH:
12 | case DLL_THREAD_ATTACH:
13 | case DLL_THREAD_DETACH:
14 | case DLL_PROCESS_DETACH:
15 | break;
16 | }
17 | return TRUE;
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/algorithm_search.h:
--------------------------------------------------------------------------------
1 |
2 | template
3 | Iterator BinarySearch(Iterator _First, Iterator _Last, Strategy _Strategy, const T& key)
4 | {
5 | Iterator first = _First;
6 | Iterator end = _Last - 1;
7 | Iterator mid;
8 | while (first <= end)
9 | {
10 | mid = first + distance(first, end) / 2;
11 | if (_Strategy(*mid, key) > 0)
12 | end = mid - 1;
13 | else if (_Strategy(*mid, key) < 0)
14 | first = mid + 1;
15 | else
16 | return mid;
17 | }
18 | return _Last;
19 | }
--------------------------------------------------------------------------------
/BoostFunction/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.14)
2 | project(BoostFunction)
3 |
4 | set(CMAKE_CXX_STANDARD 17)
5 |
6 | add_executable(BoostFunction main.cpp)
7 |
8 | #用于将当前目录下的所有源文件的名字保存在变量 DIR_SRCS 中
9 | #aux_source_directory(. DIR_SRCS)
10 | #add_executable(test1 ${DIR_SRCS})
11 |
12 |
13 | set(BOOST_ROOT "/usr/local/include/boost")
14 | #添加头文件搜索路径
15 | include_directories(/usr/local/include)
16 |
17 | #添加库文件搜索路径
18 | link_directories(/usr/local/lib)
19 |
20 | #在这里根据名字boost_thread去寻找libboost_thread.a文件
21 | find_package(Boost 1.69.0 REQUIRED)
22 | target_link_libraries(BoostFunction ${Boost_LIBRARIES})
23 |
--------------------------------------------------------------------------------
/ProcessFork/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | //void TestA() {
5 | // printf("b");
6 | //}
7 | using namespace std;
8 |
9 | int main() {
10 | cout << "start" << endl;
11 | pid_t fork1 = fork();
12 | if (fork1 == 0) {
13 | cout << "son!" << endl;
14 | pid_t cpid = fork();
15 | if (cpid == 0)
16 | cout << "grandson" << endl;
17 | else if(cpid > 0)
18 | cout << "son" << endl;
19 | else if(cpid < 0)
20 | cout << "Error" << endl;
21 | }
22 | if (fork1 > 0)
23 | cout << "father" << endl;
24 | return 0;
25 | }
--------------------------------------------------------------------------------
/TemplateTest/specialT.cpp:
--------------------------------------------------------------------------------
1 | #include "vector"
2 | template
3 | class MyTemplate
4 | {
5 | private:
6 | /* data */
7 | T m_T;
8 |
9 | public:
10 | MyTemplate(T t /* args */) { m_T = t; };
11 | ~MyTemplate(){};
12 | T Get() { return m_T; };
13 | };
14 | template <>
15 | class MyTemplate
16 | {
17 | private:
18 | /* data */
19 | bool m_T;
20 |
21 | public:
22 | MyTemplate(bool t /* args */) { m_T = t; };
23 | ~MyTemplate(){};
24 | bool Get() { return m_T; };
25 | };
26 | int main()
27 | {
28 | std::vector vec;
29 | MyTemplate tem(10);
30 | int aa = tem.Get();
31 | MyTemplate temSpec(false);
32 | temSpec.Get();
33 | }
--------------------------------------------------------------------------------
/VirtualRelease/VirtualRelease/VirtualRelease.cpp:
--------------------------------------------------------------------------------
1 | // VirtualRelease.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | class BaseClass
6 | {
7 | public:
8 | BaseClass()
9 | {
10 | std::cout << "构造BaseClass" << std::endl;
11 | };
12 | virtual ~BaseClass()
13 | {
14 | std::cout << "析构BaseClass" << std::endl;
15 | };
16 | };
17 |
18 | class DerivedClass :public BaseClass
19 | {
20 | public:
21 | DerivedClass()
22 | {
23 | std::cout << "构造DerivedClass" << std::endl;
24 | };
25 | ~DerivedClass()
26 | {
27 | std::cout << "析构DerivedClass" << std::endl;
28 | };
29 | };
30 |
31 |
32 | int main()
33 | {
34 | BaseClass* b = new DerivedClass;
35 | delete b;
36 | //system("PAUSE");
37 | }
--------------------------------------------------------------------------------
/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // 使用 IntelliSense 了解相关属性。
3 | // 悬停以查看现有属性的描述。
4 | // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "g++ - 生成和调试活动文件",
9 | "type": "cppdbg",
10 | "request": "launch",
11 | "program": "${fileDirname}/${fileBasenameNoExtension}",
12 | "args": [],
13 | "stopAtEntry": false,
14 | "cwd": "${workspaceFolder}",
15 | "environment": [],
16 | "externalConsole": false,
17 | "MIMode": "lldb",
18 | "preLaunchTask": "C/C++: g++ build active file"
19 | }
20 | ]
21 | }
--------------------------------------------------------------------------------
/DataStructure/DataStructure/DataStructure.cpp:
--------------------------------------------------------------------------------
1 | // DataStructure.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | //#include "1TimeComplexity.cpp"
6 | //#include "2SpaceComplexity.cpp"
7 | #include "3Aarray.cpp"
8 |
9 | int main()
10 | {
11 | //TreeNode* node = buildTree(3);
12 | //vectorAccess();
13 | vectorSort();
14 | std::cout << endl;
15 | }
16 |
17 | // 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
18 | // 调试程序: F5 或调试 >“开始调试”菜单
19 |
20 | // 入门使用技巧:
21 | // 1. 使用解决方案资源管理器窗口添加/管理文件
22 | // 2. 使用团队资源管理器窗口连接到源代码管理
23 | // 3. 使用输出窗口查看生成输出和其他消息
24 | // 4. 使用错误列表窗口查看错误
25 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
26 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
27 |
--------------------------------------------------------------------------------
/TemplateTest/specialT.dSYM/Contents/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleIdentifier
8 | com.apple.xcode.dsym.specialT
9 | CFBundleInfoDictionaryVersion
10 | 6.0
11 | CFBundlePackageType
12 | dSYM
13 | CFBundleSignature
14 | ????
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleVersion
18 | 1
19 |
20 |
21 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.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/method.jiao/Documents/C++Demo/HeapSort/main.cpp" "/Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.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 |
--------------------------------------------------------------------------------
/DllUpdate/DllUpdate/DllUpdate.cpp:
--------------------------------------------------------------------------------
1 | // DllUpdate.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | #include "../Dll1/ExDefine.h"
6 | #include "../Dll1/ExportClass1.h"
7 | #include
8 | #pragma comment(lib, "Dll1.lib")
9 | int main()
10 | {
11 | HINSTANCE hinstDLL = LoadLibrary(L"Dll1.dll");
12 |
13 | ExportClass1 s;
14 | s.Method1();
15 | s.Method2();
16 | if(hinstDLL!=NULL)
17 | FreeLibrary(hinstDLL);
18 | }
19 |
20 | // 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
21 | // 调试程序: F5 或调试 >“开始调试”菜单
22 |
23 | // 入门提示:
24 | // 1. 使用解决方案资源管理器窗口添加/管理文件
25 | // 2. 使用团队资源管理器窗口连接到源代码管理
26 | // 3. 使用输出窗口查看生成输出和其他消息
27 | // 4. 使用错误列表窗口查看错误
28 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
29 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
30 |
--------------------------------------------------------------------------------
/.vscode/tasks.json:
--------------------------------------------------------------------------------
1 | {
2 | "tasks": [
3 | {
4 | "type": "cppbuild",
5 | "label": "C/C++: g++ build active file",
6 | "command": "/usr/bin/g++",
7 | "args": [
8 | "-g",
9 | "${file}",
10 | "-o",
11 | "${fileDirname}/${fileBasenameNoExtension}"
12 | ],
13 | "options": {
14 | "cwd": "${workspaceFolder}"
15 | },
16 | "problemMatcher": [
17 | "$gcc"
18 | ],
19 | "group": {
20 | "kind": "build",
21 | "isDefault": true
22 | },
23 | "detail": "Task generated by Debugger."
24 | }
25 | ],
26 | "version": "2.0.0"
27 | }
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | # Relative path conversion top directories.
5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/method.jiao/Documents/C++Demo/HeapSort")
6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/method.jiao/Documents/C++Demo/HeapSort/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 |
--------------------------------------------------------------------------------
/PyKafka/storm启动.txt:
--------------------------------------------------------------------------------
1 | opt/ZooKeeper/server1/zookeeper/bin/zkServer.sh start
2 |
3 | opt/ZooKeeper/server2/zookeeper/bin/zkServer.sh start
4 |
5 | opt/ZooKeeper/server3/zookeeper/bin/zkServer.sh start
6 |
7 | opt/Storm/server1/storm/bin/storm nimbus &
8 |
9 | opt/Storm/server1/storm/bin/storm supervisor &
10 |
11 | opt/Storm/server1/storm/bin/storm ui &
12 |
13 | opt/Storm/server2/storm/bin/storm supervisor &
14 |
15 | opt/Storm/server3/storm/bin/storm supervisor &
16 |
17 | /opt/kafka/kafka_2.12-2.2.0/bin/kafka-server-start.sh /opt/kafka/kafka_2.12-2.2.0/config/server.properties
18 |
19 | /opt/kafka/kafka_2.12-2.2.0/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test
20 |
21 | /opt/kafka/kafka_2.12-2.2.0/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
--------------------------------------------------------------------------------
/PtrMemoryLeak/PtrMemoryLeak/PtrMemoryLeak.cpp:
--------------------------------------------------------------------------------
1 | // PtrMemoryLeak.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | #include
6 | using namespace std;
7 |
8 | struct MyStruct
9 | {
10 | int a = 1;
11 | char b = 'b';
12 | double c = 2.2;
13 | };
14 |
15 | void Method3()
16 | {
17 | MyStruct* myStruct = new MyStruct();
18 |
19 | }
20 |
21 | void Method2(shared_ptr myStructPtr)
22 | {
23 | int a = myStructPtr->a;
24 | }
25 |
26 | void Method1()
27 | {
28 | //MyStruct* s1 = new MyStruct();
29 | //Method2(shared_ptr(s1));
30 | }
31 |
32 | int main()
33 | {
34 | while (true)
35 | {
36 | //Method1();//bug
37 |
38 | //Method3();
39 |
40 | MyStruct* myStruct = new MyStruct();
41 |
42 | shared_ptr myStructPtr(myStruct);
43 |
44 | //myStructPtr->a;
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest/TemplateTest.cpp:
--------------------------------------------------------------------------------
1 | // TemplateTest.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include "pch.h"
5 | #include
6 |
7 | struct MyStruct
8 | {
9 | int a;
10 | bool b;
11 | };
12 |
13 | template
14 | void TemplateMethod(T &t)
15 | {
16 | t.a = 3;
17 | }
18 |
19 |
20 |
21 | int main()
22 | {
23 | MyStruct myStruct;
24 | TemplateMethod(myStruct);
25 | int num = 4;
26 | TemplateMethod(num);
27 | std::cout << myStruct.a<<"\n";
28 | system("PAUSE");
29 | }
30 |
31 | // 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
32 | // 调试程序: F5 或调试 >“开始调试”菜单
33 |
34 | // 入门提示:
35 | // 1. 使用解决方案资源管理器窗口添加/管理文件
36 | // 2. 使用团队资源管理器窗口连接到源代码管理
37 | // 3. 使用输出窗口查看生成输出和其他消息
38 | // 4. 使用错误列表窗口查看错误
39 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
40 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
41 |
--------------------------------------------------------------------------------
/OpenMPDemo/OpenMPDemo/OpenMPDemo.cpp:
--------------------------------------------------------------------------------
1 | // OpenMPDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | #include
6 |
7 | int main()
8 | {
9 | //omp_set_num_threads(8);
10 | int coreCount = omp_get_num_procs();
11 | //std::cout << coreCount << "\n";
12 | double t1, t2;
13 | t1 = omp_get_wtime();
14 | #pragma omp parallel for
15 | for (size_t i = 0; i < 100000000; i++)
16 | {
17 | double num = 3.1415926 * 3.1415926;
18 | num += 3.1415926 * 3.1415926;
19 | num += 3.1415926 * 3.1415926;
20 | num += 3.1415926 * 3.1415926;
21 | //std::cout << omp_get_thread_num() << "\n";
22 | }
23 | t2 = omp_get_wtime();
24 | std::cout <<"并行费时:"<< t2 - t1<< "\n";
25 | for (size_t i = 0; i < 100000000; i++)
26 | {
27 | double num = 3.1415926 * 3.1415926;
28 | num += 3.1415926 * 3.1415926;
29 | num += 3.1415926 * 3.1415926;
30 | num += 3.1415926 * 3.1415926;
31 | }
32 | t1 = omp_get_wtime();
33 | std::cout << "串行费时:" << t1 - t2 << "\n";
34 | system("PAUSE");
35 | }
36 |
--------------------------------------------------------------------------------
/DllUpdate/DllUpdate/DllUpdate.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 |
--------------------------------------------------------------------------------
/PtrMethod/PtrMethod/PtrMethod.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 |
--------------------------------------------------------------------------------
/OpenMPDemo/OpenMPDemo/OpenMPDemo.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 |
--------------------------------------------------------------------------------
/PyKafka/PyKafka.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.539
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "PyKafka", "PyKafka\PyKafka.pyproj", "{FFDFB6C6-4459-451B-B3E9-303EE283A08E}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {FFDFB6C6-4459-451B-B3E9-303EE283A08E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {FFDFB6C6-4459-451B-B3E9-303EE283A08E}.Release|Any CPU.ActiveCfg = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | GlobalSection(ExtensibilityGlobals) = postSolution
21 | SolutionGuid = {819A6D86-AA9B-4062-8849-321CC6107CC4}
22 | EndGlobalSection
23 | EndGlobal
24 |
--------------------------------------------------------------------------------
/PtrMemoryLeak/PtrMemoryLeak/PtrMemoryLeak.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 |
--------------------------------------------------------------------------------
/VirtualRelease/VirtualRelease/VirtualRelease.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.31101.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TempleteSort", "TempleteSort\TempleteSort.vcxproj", "{EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Win32 = Debug|Win32
11 | Release|Win32 = Release|Win32
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}.Debug|Win32.ActiveCfg = Debug|Win32
15 | {EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}.Debug|Win32.Build.0 = Debug|Win32
16 | {EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}.Release|Win32.ActiveCfg = Release|Win32
17 | {EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}.Release|Win32.Build.0 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo/ExceptionDemo.cpp:
--------------------------------------------------------------------------------
1 | // ExceptionDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include "pch.h"
5 | #include
6 | #include
7 |
8 | using namespace std;
9 |
10 | LONG WINAPI ExpFilter(struct _EXCEPTION_POINTERS *pExp)
11 | {
12 | cout << "Unhandled Exception!!!" << endl;
13 |
14 | return EXCEPTION_EXECUTE_HANDLER;
15 | }
16 |
17 |
18 | void StartUnhandledExceptionFilter()
19 | {
20 | ::SetUnhandledExceptionFilter(ExpFilter);
21 |
22 | }
23 | int main()
24 | {
25 | StartUnhandledExceptionFilter();
26 | //try
27 | //{
28 | int a = 1;
29 | int b = 0;
30 | int c = a / b;
31 | //}
32 | //catch (...)
33 | //{
34 | // std::cout << "Hello World!\n";
35 | //}
36 |
37 | }
38 |
39 | // 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
40 | // 调试程序: F5 或调试 >“开始调试”菜单
41 |
42 | // 入门提示:
43 | // 1. 使用解决方案资源管理器窗口添加/管理文件
44 | // 2. 使用团队资源管理器窗口连接到源代码管理
45 | // 3. 使用输出窗口查看生成输出和其他消息
46 | // 4. 使用错误列表窗口查看错误
47 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
48 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
49 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | 控制台应用程序:TempleteSort 项目概述
3 | ========================================================================
4 |
5 | 应用程序向导已为您创建了此 TempleteSort 应用程序。
6 |
7 | 本文件概要介绍组成 TempleteSort 应用程序的每个文件的内容。
8 |
9 |
10 | TempleteSort.vcxproj
11 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
12 |
13 | TempleteSort.vcxproj.filters
14 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
15 |
16 | TempleteSort.cpp
17 | 这是主应用程序源文件。
18 |
19 | /////////////////////////////////////////////////////////////////////////////
20 | 其他标准文件:
21 |
22 | StdAfx.h, StdAfx.cpp
23 | 这些文件用于生成名为 TempleteSort.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
24 |
25 | /////////////////////////////////////////////////////////////////////////////
26 | 其他注释:
27 |
28 | 应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。
29 |
30 | /////////////////////////////////////////////////////////////////////////////
31 |
--------------------------------------------------------------------------------
/PtrMethod/PtrMethod/PtrMethod.cpp:
--------------------------------------------------------------------------------
1 | // PtrMethod.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include
5 | #include
6 | #include
7 | using namespace std;
8 | class MyClassA
9 | {
10 | public:
11 | MyClassA();
12 | ~MyClassA();
13 | int Method1();
14 | private:
15 |
16 | };
17 |
18 | MyClassA::MyClassA()
19 | {
20 | }
21 |
22 | MyClassA::~MyClassA()
23 | {
24 | }
25 |
26 | int MyClassA::Method1()
27 | {
28 | int a = 0;
29 | return a;
30 | }
31 |
32 | class MyClassB
33 | {
34 | public:
35 | MyClassB();
36 | ~MyClassB();
37 | int Method2(int (MyClassA ::* pMethod1)());
38 | private:
39 |
40 | };
41 |
42 | MyClassB::MyClassB()
43 | {
44 | }
45 |
46 | MyClassB::~MyClassB()
47 | {
48 | }
49 |
50 | int MyClassB::Method2(int (MyClassA ::* pMethod1)())//以函数指针为参数的函数
51 | {
52 | MyClassA myClassA;
53 | int a = (myClassA.*pMethod1)();//通过函数指针调用目标函数
54 | return a;
55 | }
56 |
57 | int main()
58 | {
59 | int (MyClassA :: * pMethod1)() = &MyClassA::Method1;//函数指针初始化,格式:返回类型(函数指针变量名及作用域)(函数指针指向函数的参数)
60 | //pMethod1 = &MyClassA::Method1;//函数指针重定向
61 |
62 | MyClassB myClassB;
63 | myClassB.Method2(pMethod1);
64 | }
65 |
--------------------------------------------------------------------------------
/DllDemo/CallPart/CallPart.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 |
23 |
24 | 源文件
25 |
26 |
27 | 源文件
28 |
29 |
30 |
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest/TemplateTest.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 |
23 |
24 | 源文件
25 |
26 |
27 | 源文件
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo/ExceptionDemo.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 |
23 |
24 | 源文件
25 |
26 |
27 | 源文件
28 |
29 |
30 |
--------------------------------------------------------------------------------
/PtrTest/PtrTest/PtrTest.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 |
23 |
24 | 源文件
25 |
26 |
27 | 源文件
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Inherit/Inherit.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Inherit", "Inherit\Inherit.vcxproj", "{038A57F0-26AB-4760-BE7C-A8CA680428FB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Debug|x64.ActiveCfg = Debug|x64
17 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Debug|x64.Build.0 = Debug|x64
18 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Debug|x86.ActiveCfg = Debug|Win32
19 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Debug|x86.Build.0 = Debug|Win32
20 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Release|x64.ActiveCfg = Release|x64
21 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Release|x64.Build.0 = Release|x64
22 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Release|x86.ActiveCfg = Release|Win32
23 | {038A57F0-26AB-4760-BE7C-A8CA680428FB}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/FindWindow/FindWindow.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FindWindow", "FindWindow\FindWindow.vcxproj", "{82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Debug|x64.ActiveCfg = Debug|x64
17 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Debug|x64.Build.0 = Debug|x64
18 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Debug|x86.ActiveCfg = Debug|Win32
19 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Debug|x86.Build.0 = Debug|Win32
20 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Release|x64.ActiveCfg = Release|x64
21 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Release|x64.Build.0 = Release|x64
22 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Release|x86.ActiveCfg = Release|Win32
23 | {82B0C6F7-5BEF-4F6F-ADBC-94595FA354A3}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.25420.1
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MallocDemo", "MallocDemo\MallocDemo.vcxproj", "{06A5753C-B886-4541-9378-F8EE674471C1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {06A5753C-B886-4541-9378-F8EE674471C1}.Debug|x64.ActiveCfg = Debug|x64
17 | {06A5753C-B886-4541-9378-F8EE674471C1}.Debug|x64.Build.0 = Debug|x64
18 | {06A5753C-B886-4541-9378-F8EE674471C1}.Debug|x86.ActiveCfg = Debug|Win32
19 | {06A5753C-B886-4541-9378-F8EE674471C1}.Debug|x86.Build.0 = Debug|Win32
20 | {06A5753C-B886-4541-9378-F8EE674471C1}.Release|x64.ActiveCfg = Release|x64
21 | {06A5753C-B886-4541-9378-F8EE674471C1}.Release|x64.Build.0 = Release|x64
22 | {06A5753C-B886-4541-9378-F8EE674471C1}.Release|x86.ActiveCfg = Release|Win32
23 | {06A5753C-B886-4541-9378-F8EE674471C1}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/PtrTest/PtrTest.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PtrTest", "PtrTest\PtrTest.vcxproj", "{B7BBE2C1-CB00-4531-9EAB-D002282149DB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Debug|x64.ActiveCfg = Debug|x64
17 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Debug|x64.Build.0 = Debug|x64
18 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Debug|x86.ActiveCfg = Debug|Win32
19 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Debug|x86.Build.0 = Debug|Win32
20 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Release|x64.ActiveCfg = Release|x64
21 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Release|x64.Build.0 = Release|x64
22 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Release|x86.ActiveCfg = Release|Win32
23 | {B7BBE2C1-CB00-4531-9EAB-D002282149DB}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {0A5AB88E-722B-4CA4-BA00-E7CAC6215AEC}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/PtrMethod/PtrMethod.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28803.202
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PtrMethod", "PtrMethod\PtrMethod.vcxproj", "{289DABD6-2BB8-4F80-A8CD-421C0E429299}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Debug|x64.ActiveCfg = Debug|x64
17 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Debug|x64.Build.0 = Debug|x64
18 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Debug|x86.ActiveCfg = Debug|Win32
19 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Debug|x86.Build.0 = Debug|Win32
20 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Release|x64.ActiveCfg = Release|x64
21 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Release|x64.Build.0 = Release|x64
22 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Release|x86.ActiveCfg = Release|Win32
23 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {2C40759A-0CFB-43BD-8EC8-6D376F6AD12C}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/OpenMPDemo/OpenMPDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28729.10
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenMPDemo", "OpenMPDemo\OpenMPDemo.vcxproj", "{89125FFA-7058-46DC-BFF8-870976795E6B}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Debug|x64.ActiveCfg = Debug|x64
17 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Debug|x64.Build.0 = Debug|x64
18 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Debug|x86.ActiveCfg = Debug|Win32
19 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Debug|x86.Build.0 = Debug|Win32
20 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Release|x64.ActiveCfg = Release|x64
21 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Release|x64.Build.0 = Release|x64
22 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Release|x86.ActiveCfg = Release|Win32
23 | {89125FFA-7058-46DC-BFF8-870976795E6B}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {5FD90925-320E-45F1-8E6F-7786823F9E0D}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/TemplateTest/TemplateTest.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TemplateTest", "TemplateTest\TemplateTest.vcxproj", "{7A13224C-E739-4398-9AF9-84C4C681F3CD}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Debug|x64.ActiveCfg = Debug|x64
17 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Debug|x64.Build.0 = Debug|x64
18 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Debug|x86.ActiveCfg = Debug|Win32
19 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Debug|x86.Build.0 = Debug|Win32
20 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Release|x64.ActiveCfg = Release|x64
21 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Release|x64.Build.0 = Release|x64
22 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Release|x86.ActiveCfg = Release|Win32
23 | {7A13224C-E739-4398-9AF9-84C4C681F3CD}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {00CB2E79-4ECC-4847-8196-B49FEC885BD8}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/ExceptionDemo/ExceptionDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ExceptionDemo", "ExceptionDemo\ExceptionDemo.vcxproj", "{C7D155DA-06CC-4AAE-81FE-0FE6F3687149}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Debug|x64.ActiveCfg = Debug|x64
17 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Debug|x64.Build.0 = Debug|x64
18 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Debug|x86.ActiveCfg = Debug|Win32
19 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Debug|x86.Build.0 = Debug|Win32
20 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Release|x64.ActiveCfg = Release|x64
21 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Release|x64.Build.0 = Release|x64
22 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Release|x86.ActiveCfg = Release|Win32
23 | {C7D155DA-06CC-4AAE-81FE-0FE6F3687149}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {1422F098-DC2D-498D-B26F-19A21ED47157}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/DataStructure/DataStructure.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.4.33403.182
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DataStructure", "DataStructure\DataStructure.vcxproj", "{51C8BD85-62C3-45C1-95E2-C89C532BE9F1}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Debug|x64.ActiveCfg = Debug|x64
17 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Debug|x64.Build.0 = Debug|x64
18 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Debug|x86.ActiveCfg = Debug|Win32
19 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Debug|x86.Build.0 = Debug|Win32
20 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Release|x64.ActiveCfg = Release|x64
21 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Release|x64.Build.0 = Release|x64
22 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Release|x86.ActiveCfg = Release|Win32
23 | {51C8BD85-62C3-45C1-95E2-C89C532BE9F1}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {D1CCDE4D-55AC-46F2-838C-E9F6A44F9E44}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/PtrMemoryLeak/PtrMemoryLeak.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28729.10
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PtrMemoryLeak", "PtrMemoryLeak\PtrMemoryLeak.vcxproj", "{5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Debug|x64.ActiveCfg = Debug|x64
17 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Debug|x64.Build.0 = Debug|x64
18 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Debug|x86.ActiveCfg = Debug|Win32
19 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Debug|x86.Build.0 = Debug|Win32
20 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Release|x64.ActiveCfg = Release|x64
21 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Release|x64.Build.0 = Release|x64
22 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Release|x86.ActiveCfg = Release|Win32
23 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {D584A1B1-B775-43CB-B839-C92DFAE9EA30}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/VirtualRelease/VirtualRelease.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28803.202
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VirtualRelease", "VirtualRelease\VirtualRelease.vcxproj", "{DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Debug|x64.ActiveCfg = Debug|x64
17 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Debug|x64.Build.0 = Debug|x64
18 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Debug|x86.ActiveCfg = Debug|Win32
19 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Debug|x86.Build.0 = Debug|Win32
20 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Release|x64.ActiveCfg = Release|x64
21 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Release|x64.Build.0 = Release|x64
22 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Release|x86.ActiveCfg = Release|Win32
23 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {18094746-1193-47EA-BF85-401D12E86C14}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/DllUpdate/Dll1/Dll1.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 |
32 |
33 | 源文件
34 |
35 |
36 | 源文件
37 |
38 |
39 | 源文件
40 |
41 |
42 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/TempleteSort.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 | 头文件
32 |
33 |
34 |
35 |
36 | 源文件
37 |
38 |
39 | 源文件
40 |
41 |
42 |
--------------------------------------------------------------------------------
/DataStructure/DataStructure/DataStructure.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 源文件
20 |
21 |
22 | 源文件
23 |
24 |
25 | 源文件
26 |
27 |
28 | 源文件
29 |
30 |
31 | 源文件
32 |
33 |
34 | 源文件
35 |
36 |
37 | 源文件
38 |
39 |
40 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /Users/method.jiao/Documents/C++Demo/HeapSort
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | # Is this installation the result of a crosscompile?
31 | if(NOT DEFINED CMAKE_CROSSCOMPILING)
32 | set(CMAKE_CROSSCOMPILING "FALSE")
33 | endif()
34 |
35 | if(CMAKE_INSTALL_COMPONENT)
36 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
37 | else()
38 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
39 | endif()
40 |
41 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
42 | "${CMAKE_INSTALL_MANIFEST_FILES}")
43 | file(WRITE "/Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}")
45 |
--------------------------------------------------------------------------------
/DllDemo/BeCalledPart/BeCalledPart.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | 头文件
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 |
32 |
33 | 源文件
34 |
35 |
36 | 源文件
37 |
38 |
39 | 源文件
40 |
41 |
42 | 源文件
43 |
44 |
45 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/algorithm_sort.h:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | template
4 | inline void MergeSort(Iterator _First, Iterator _Last,
5 | Strategy _Strategy)
6 | {
7 | if (_First == _Last || _Last - _First == 1)
8 | return;
9 | typedef iterator_traits::difference_type difference_type;
10 | difference_type differenceType = (_Last - _First) / 2;
11 | MergeSort(_First, _First + differenceType, _Strategy);
12 | MergeSort(_First + differenceType, _Last, _Strategy);
13 | _merge(_First, _First + differenceType, _First + differenceType, _Last, _Strategy);
14 | }
15 |
16 | template
17 | inline void _merge(Iterator _Part1First, Iterator _Part1Last,
18 | Iterator _Part2First, Iterator _Part2Last,
19 | Strategy _Strategy)
20 | {
21 | Iterator itPart1 = _Part1First;
22 | Iterator itPart2 = _Part2First;
23 |
24 | typedef iterator_traits::value_type value_type;
25 | vector result;
26 |
27 | while (itPart1 != _Part1Last && itPart2 != _Part2Last){
28 | if (_Strategy(*itPart1, *itPart2)){
29 | result.push_back(*itPart1);
30 | itPart1++;
31 | }
32 | else{
33 | result.push_back(*itPart2);
34 | itPart2++;
35 | }
36 | }
37 |
38 | if (itPart1 < _Part1Last)
39 | result.insert(result.end(), itPart1, _Part1Last);
40 | if (itPart2 < _Part2Last)
41 | result.insert(result.end(), itPart2, _Part2Last);
42 |
43 | itPart1 = _Part1First;
44 | itPart2 = _Part2First;
45 | vector::iterator it = result.begin();
46 | while (it != result.end()){
47 | if (itPart1 != _Part1Last){
48 | *itPart1 = *it;
49 | itPart1++;
50 | }
51 | else if (itPart2 != _Part2Last){
52 | *itPart2 = *it;
53 | itPart2++;
54 | }
55 | it++;
56 | }
57 | }
--------------------------------------------------------------------------------
/PyKafka/PyKafka/PyKafka.pyproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Debug
4 | 2.0
5 | ffdfb6c6-4459-451b-b3e9-303ee283a08e
6 | .
7 | Consumer.py
8 |
9 |
10 | .
11 | .
12 | PyKafka
13 | PyKafka
14 | Global|PythonCore|3.6
15 |
16 |
17 | true
18 | false
19 |
20 |
21 | true
22 | false
23 |
24 |
25 |
26 | Code
27 |
28 |
29 | Code
30 |
31 |
32 |
33 |
34 |
35 |
36 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/PtrTest/PtrTest/PtrTest.cpp:
--------------------------------------------------------------------------------
1 | // PtrTest.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
2 | //
3 |
4 | #include "pch.h"
5 | #include
6 | #include
7 | #include
8 |
9 | #include
10 | #include
11 | #include
12 | #include
13 |
14 | #define WAITKEY_DELAY 30
15 | #define CAMERA_DEVICE 0
16 | using namespace std;
17 | using namespace cv;
18 | struct MyStruct
19 | {
20 | public:
21 | MyStruct()
22 | {
23 | };
24 | ~MyStruct()
25 | {
26 | };
27 | string str;
28 | shared_ptr my = nullptr;
29 | };
30 | MyStruct Method1()
31 | {
32 | shared_ptr child = make_shared();
33 | child->str = "bbbbbbb";
34 | child->my = nullptr;
35 |
36 | MyStruct mystruct;
37 | mystruct.str = "aaaaaaa";
38 | mystruct.my = child;
39 |
40 | return mystruct;
41 | }
42 | int main()
43 | {
44 | //MyStruct my = Method1();
45 | //
46 |
47 | //int a = 0;
48 |
49 | //VideoCapture cap(0);
50 | //Mat frame;
51 | //while (waitKey(30) != 27)
52 | //{
53 | // cap >> frame;
54 | // cvtColor(frame, frame, COLOR_BGR2GRAY);
55 | // Mat out;
56 | // Canny(frame, out, 20, 80, 3);
57 | // imshow("调用摄像头", out);
58 | //}
59 |
60 |
61 | //Mat img = imread("C://Users//Method.Jiao//Desktop//PtrTest//Debug//timg.jpg");
62 | //imshow("原始图", img);
63 | //Mat DstPic, edge, grayImage;
64 |
65 | ////创建与src同类型和同大小的矩阵
66 | //DstPic.create(img.size(), img.type());
67 |
68 | ////将原始图转化为灰度图
69 | //cvtColor(img, grayImage, COLOR_BGR2GRAY);
70 |
71 | ////先使用3*3内核来降噪
72 | //blur(grayImage, edge, Size(3, 3));
73 |
74 | ////运行canny算子
75 | //Canny(edge, edge, 3, 9, 3);
76 |
77 | //imshow("边缘提取效果", edge);
78 |
79 | //waitKey(0);
80 |
81 | }
82 |
83 | // 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
84 | // 调试程序: F5 或调试 >“开始调试”菜单
85 |
86 | // 入门提示:
87 | // 1. 使用解决方案资源管理器窗口添加/管理文件
88 | // 2. 使用团队资源管理器窗口连接到源代码管理
89 | // 3. 使用输出窗口查看生成输出和其他消息
90 | // 4. 使用错误列表窗口查看错误
91 | // 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
92 | // 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件
93 |
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/MallocDemo.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 | 头文件
32 |
33 |
34 | 头文件
35 |
36 |
37 |
38 |
39 | 源文件
40 |
41 |
42 | 源文件
43 |
44 |
45 | 源文件
46 |
47 |
48 |
49 |
50 | 资源文件
51 |
52 |
53 |
54 |
55 | 资源文件
56 |
57 |
58 |
59 |
60 | 资源文件
61 |
62 |
63 |
--------------------------------------------------------------------------------
/DllDemo/DllDemo.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CallPart", "CallPart\CallPart.vcxproj", "{87D5AB3B-E5AA-412F-A2DB-088644A607CF}"
7 | EndProject
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BeCalledPart", "BeCalledPart\BeCalledPart.vcxproj", "{9CA51750-86A1-496F-8368-8EB283412407}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|x64 = Debug|x64
13 | Debug|x86 = Debug|x86
14 | Release|x64 = Release|x64
15 | Release|x86 = Release|x86
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Debug|x64.ActiveCfg = Debug|x64
19 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Debug|x64.Build.0 = Debug|x64
20 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Debug|x86.ActiveCfg = Debug|Win32
21 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Debug|x86.Build.0 = Debug|Win32
22 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Release|x64.ActiveCfg = Release|x64
23 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Release|x64.Build.0 = Release|x64
24 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Release|x86.ActiveCfg = Release|Win32
25 | {87D5AB3B-E5AA-412F-A2DB-088644A607CF}.Release|x86.Build.0 = Release|Win32
26 | {9CA51750-86A1-496F-8368-8EB283412407}.Debug|x64.ActiveCfg = Debug|x64
27 | {9CA51750-86A1-496F-8368-8EB283412407}.Debug|x64.Build.0 = Debug|x64
28 | {9CA51750-86A1-496F-8368-8EB283412407}.Debug|x86.ActiveCfg = Debug|Win32
29 | {9CA51750-86A1-496F-8368-8EB283412407}.Debug|x86.Build.0 = Debug|Win32
30 | {9CA51750-86A1-496F-8368-8EB283412407}.Release|x64.ActiveCfg = Release|x64
31 | {9CA51750-86A1-496F-8368-8EB283412407}.Release|x64.Build.0 = Release|x64
32 | {9CA51750-86A1-496F-8368-8EB283412407}.Release|x86.ActiveCfg = Release|Win32
33 | {9CA51750-86A1-496F-8368-8EB283412407}.Release|x86.Build.0 = Release|Win32
34 | EndGlobalSection
35 | GlobalSection(SolutionProperties) = preSolution
36 | HideSolutionNode = FALSE
37 | EndGlobalSection
38 | GlobalSection(ExtensibilityGlobals) = postSolution
39 | SolutionGuid = {FC7780A8-65AB-492B-9DBF-48360B543010}
40 | EndGlobalSection
41 | EndGlobal
42 |
--------------------------------------------------------------------------------
/IteratorDelete/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 | #include
5 | #include
6 |
7 | using namespace std;
8 | struct People {
9 | int num;
10 | string name;
11 | };
12 |
13 | long hashString(string str) {
14 | char *charP = str.data();
15 | long hashCode = 0;
16 | for (; *charP; ++charP) {
17 | hashCode = 5 * hashCode + *charP;
18 | hashCode %= 2353639;
19 | }
20 | return hashCode;
21 | }
22 |
23 | int main() {
24 | //string a = "哈哈";
25 | size_t s;
26 | long a = hashString("我爱北京天安门,天安门上太阳升");
27 | sqrt(9);
28 | vector numberVector;
29 | numberVector.push_back(1);
30 | numberVector.push_back(3);
31 | for (vector::iterator iter = numberVector.begin(); iter != numberVector.end(); ++iter) {
32 | cout << *iter << " 地址" << &(*iter) << endl;
33 | }
34 | cout << endl;
35 | numberVector.insert(numberVector.begin() + 1, 2);
36 |
37 | for (vector::iterator iter = numberVector.begin(); iter != numberVector.end(); ++iter) {
38 | cout << *iter << " 地址" << &(*iter) << endl;
39 | }
40 | cout << endl;
41 | list numberList;
42 | numberList.push_back(1);
43 | numberList.push_back(3);
44 |
45 | for (list::iterator iter = numberList.begin(); iter != numberList.end(); ++iter) {
46 | cout << *iter << " 地址" << &(*iter) << endl;
47 | }
48 | cout << endl;
49 | numberList.insert(numberList.begin(), 2);
50 | for (list::iterator iter = numberList.begin(); iter != numberList.end(); ++iter) {
51 | cout << *iter << " 地址" << &(*iter) << endl;
52 | }
53 | cout << endl;
54 | numberList.sort();
55 | for (list::iterator iter = numberList.begin(); iter != numberList.end(); ++iter) {
56 | cout << *iter << " 地址" << &(*iter) << endl;
57 | }
58 | vector vecPeople;
59 | People people;
60 | people.name = "111";
61 | vecPeople.push_back(people);
62 |
63 |
64 |
65 | // for (vector::iterator it = vecPeople.begin();it!=vecPeople.end();it++)
66 | // {
67 | //
68 | // }
69 | // for (size_t i = 0 ;i
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 | 头文件
32 |
33 |
34 | 头文件
35 |
36 |
37 | 头文件
38 |
39 |
40 |
41 |
42 | 源文件
43 |
44 |
45 | 源文件
46 |
47 |
48 | 源文件
49 |
50 |
51 | 源文件
52 |
53 |
54 |
55 |
56 | 资源文件
57 |
58 |
59 |
60 |
61 | 资源文件
62 |
63 |
64 |
65 |
66 | 资源文件
67 |
68 |
69 |
--------------------------------------------------------------------------------
/Inherit/Inherit/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ================================================================================
2 | MICROSOFT 基础类库 : Inherit 项目概述
3 | ===============================================================================
4 |
5 | 应用程序向导已为您创建了此 Inherit 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。
6 |
7 | 本文件概要介绍组成 Inherit 应用程序的每个文件的内容。
8 |
9 | Inherit.vcxproj
10 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
11 |
12 | Inherit.vcxproj.filters
13 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
14 |
15 | Inherit.h
16 | 这是应用程序的主头文件。
17 | 其中包括其他项目特定的标头(包括 Resource.h),并声明 CInheritApp 应用程序类。
18 |
19 | Inherit.cpp
20 | 这是包含应用程序类 CInheritApp 的主应用程序源文件。
21 |
22 | Inherit.rc
23 | 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源包含在 2052 中。
24 |
25 | res\Inherit.ico
26 | 这是用作应用程序图标的图标文件。此图标包括在主资源文件 Inherit.rc 中。
27 |
28 | res\Inherit.rc2
29 | 此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。
30 |
31 |
32 | /////////////////////////////////////////////////////////////////////////////
33 |
34 | 应用程序向导创建一个对话框类:
35 |
36 | InheritDlg.h、InheritDlg.cpp - 对话框
37 | 这些文件包含 CInheritDlg 类。此类定义应用程序的主对话框的行为。对话框模板包含在 Inherit.rc 中,该文件可以在 Microsoft Visual C++ 中编辑。
38 |
39 | /////////////////////////////////////////////////////////////////////////////
40 |
41 | 其他功能:
42 |
43 | ActiveX 控件
44 | 该应用程序包含对使用 ActiveX 控件的支持。
45 |
46 | 打印和打印预览支持
47 | 应用程序向导通过从 MFC 库调用 CView 类中的成员函数生成代码,来处理打印、打印设置和打印预览命令。
48 |
49 | /////////////////////////////////////////////////////////////////////////////
50 |
51 | 其他标准文件:
52 |
53 | StdAfx.h, StdAfx.cpp
54 | 这些文件用于生成名为 Inherit.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
55 |
56 | Resource.h
57 | 这是标准头文件,可用于定义新的资源 ID。Microsoft Visual C++ 将读取并更新此文件。
58 |
59 | Inherit.manifest
60 | Windows XP 使用应用程序清单文件来描述特定版本的并行程序集的应用程序依赖项。加载程序使用这些信息来从程序集缓存中加载相应的程序集,并保护其不被应用程序访问。应用程序清单可能会包含在内,以作为与应用程序可执行文件安装在同一文件夹中的外部 .manifest 文件进行重新分发,它还可能以资源的形式包含在可执行文件中。
61 | /////////////////////////////////////////////////////////////////////////////
62 |
63 | 其他注释:
64 |
65 | 应用程序向导使用“TODO:”来指示应添加或自定义的源代码部分。
66 |
67 | 如果应用程序使用共享 DLL 中的 MFC,您将需要重新分发 MFC DLL。如果应用程序所使用的语言与操作系统的区域设置不同,则还需要重新分发相应的本地化资源 mfc110XXX.DLL。
68 | 有关上述话题的更多信息,请参见 MSDN 文档中有关重新分发 Visual C++ 应用程序的部分。
69 |
70 | /////////////////////////////////////////////////////////////////////////////
71 |
--------------------------------------------------------------------------------
/DllUpdate/DllUpdate.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.28803.202
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DllUpdate", "DllUpdate\DllUpdate.vcxproj", "{F0F61DEF-F828-4F50-A6E1-37025CE03BEA}"
7 | ProjectSection(ProjectDependencies) = postProject
8 | {82915F32-39D4-4D69-AE3E-F8D52F441542} = {82915F32-39D4-4D69-AE3E-F8D52F441542}
9 | EndProjectSection
10 | EndProject
11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dll1", "Dll1\Dll1.vcxproj", "{82915F32-39D4-4D69-AE3E-F8D52F441542}"
12 | EndProject
13 | Global
14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
15 | Debug|x64 = Debug|x64
16 | Debug|x86 = Debug|x86
17 | Release|x64 = Release|x64
18 | Release|x86 = Release|x86
19 | EndGlobalSection
20 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
21 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Debug|x64.ActiveCfg = Debug|x64
22 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Debug|x64.Build.0 = Debug|x64
23 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Debug|x86.ActiveCfg = Debug|Win32
24 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Debug|x86.Build.0 = Debug|Win32
25 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Release|x64.ActiveCfg = Release|x64
26 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Release|x64.Build.0 = Release|x64
27 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Release|x86.ActiveCfg = Release|Win32
28 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}.Release|x86.Build.0 = Release|Win32
29 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Debug|x64.ActiveCfg = Debug|x64
30 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Debug|x64.Build.0 = Debug|x64
31 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Debug|x86.ActiveCfg = Debug|Win32
32 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Debug|x86.Build.0 = Debug|Win32
33 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Release|x64.ActiveCfg = Release|x64
34 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Release|x64.Build.0 = Release|x64
35 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Release|x86.ActiveCfg = Release|Win32
36 | {82915F32-39D4-4D69-AE3E-F8D52F441542}.Release|x86.Build.0 = Release|Win32
37 | EndGlobalSection
38 | GlobalSection(SolutionProperties) = preSolution
39 | HideSolutionNode = FALSE
40 | EndGlobalSection
41 | GlobalSection(ExtensibilityGlobals) = postSolution
42 | SolutionGuid = {1E945C94-7B89-462F-911F-A2C209D68262}
43 | EndGlobalSection
44 | EndGlobal
45 |
--------------------------------------------------------------------------------
/HeapSort/main.cpp:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | using namespace std;
5 |
6 | //小顶堆结点调整
7 | void adjustMinHeap(vector &nums, int root, int len) {
8 | int lch = 2 * root + 1; //左子结点
9 | int rch = lch + 1; //右子结点
10 | int index = root; //较大结点
11 |
12 | if (rch < len && nums[rch] < nums[index])
13 | index = rch;
14 |
15 | if (lch < len && nums[lch] < nums[index])
16 | index = lch;
17 |
18 | if (index != root) //当前结点非最小结点
19 | {
20 | swap(nums[index], nums[root]);
21 | adjustMinHeap(nums, index, len);
22 | }
23 | return;
24 | }
25 |
26 | vector TopKInHeap(vector &nums, int k, int len) {
27 | vector res(nums.begin(), nums.begin() + k); //取出前k个数
28 |
29 | for (int i = k / 2 - 1; i >= 0; i--) //根据前K个数建立一个小顶堆
30 | {
31 | adjustMinHeap(res, i, k);
32 | }
33 |
34 | //将剩下的数与堆顶做比较
35 | for (int i = k; i < len; i++) {
36 | if (nums[i] > res[0]) //当前数比堆顶数大
37 | {
38 | res[0] = nums[i]; //将堆顶更新为该数
39 | adjustMinHeap(res, 0, k); //重新调整堆
40 | }
41 | }
42 |
43 | return res;
44 | }
45 |
46 | struct cmp1 {
47 | bool operator()(int &a, int &b) {
48 | return a > b; //最小值优先
49 | }
50 | };
51 |
52 | int main() {
53 | //法一
54 | vector nums;
55 | nums.push_back(3);
56 | nums.push_back(5);
57 | nums.push_back(1);
58 | nums.push_back(7);
59 | nums.push_back(6);
60 | vector res = TopKInHeap(nums, 4, 5);
61 | for (int i = 0; i < res.size(); ++i) {
62 | cout << res[i] << endl;
63 | }
64 | //法二
65 | // int K = 0;
66 | // cin >> K;
67 | // int tmp = 0;
68 | // int i = 0;
69 | // priority_queue, cmp1> minHeap; //建立最小优先队列
70 | // while (cin >> tmp) { //循环输入数据流
71 | // if (i < K) { //先建立一个K个大小的优先队列,也就是K大小的二叉堆
72 | // minHeap.push(tmp);
73 | // }
74 | // else { //算法实现
75 | // if (tmp <= minHeap.top())
76 | // continue;
77 | // else if (tmp > minHeap.top()) {
78 | // minHeap.pop();
79 | // minHeap.push(tmp);
80 | // }
81 | // }
82 | // i++;
83 | // }
84 | // while (!minHeap.empty()) { //输出最大的K个数
85 | // cout << minHeap.top() << endl;
86 | // minHeap.pop();
87 | // }
88 | return 0;
89 | }
--------------------------------------------------------------------------------
/FindWindow/FindWindow/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ================================================================================
2 | MICROSOFT 基础类库 : FindWindow 项目概述
3 | ===============================================================================
4 |
5 | 应用程序向导已为您创建了此 FindWindow 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。
6 |
7 | 本文件概要介绍组成 FindWindow 应用程序的每个文件的内容。
8 |
9 | FindWindow.vcxproj
10 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
11 |
12 | FindWindow.vcxproj.filters
13 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
14 |
15 | FindWindow.h
16 | 这是应用程序的主头文件。
17 | 其中包括其他项目特定的标头(包括 Resource.h),并声明 CFindWindowApp 应用程序类。
18 |
19 | FindWindow.cpp
20 | 这是包含应用程序类 CFindWindowApp 的主应用程序源文件。
21 |
22 | FindWindow.rc
23 | 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源包含在 2052 中。
24 |
25 | res\FindWindow.ico
26 | 这是用作应用程序图标的图标文件。此图标包括在主资源文件 FindWindow.rc 中。
27 |
28 | res\FindWindow.rc2
29 | 此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。
30 |
31 |
32 | /////////////////////////////////////////////////////////////////////////////
33 |
34 | 应用程序向导创建一个对话框类:
35 |
36 | FindWindowDlg.h、FindWindowDlg.cpp - 对话框
37 | 这些文件包含 CFindWindowDlg 类。此类定义应用程序的主对话框的行为。对话框模板包含在 FindWindow.rc 中,该文件可以在 Microsoft Visual C++ 中编辑。
38 |
39 | /////////////////////////////////////////////////////////////////////////////
40 |
41 | 其他功能:
42 |
43 | ActiveX 控件
44 | 该应用程序包含对使用 ActiveX 控件的支持。
45 |
46 | 打印和打印预览支持
47 | 应用程序向导通过从 MFC 库调用 CView 类中的成员函数生成代码,来处理打印、打印设置和打印预览命令。
48 |
49 | /////////////////////////////////////////////////////////////////////////////
50 |
51 | 其他标准文件:
52 |
53 | StdAfx.h, StdAfx.cpp
54 | 这些文件用于生成名为 FindWindow.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
55 |
56 | Resource.h
57 | 这是标准头文件,可用于定义新的资源 ID。Microsoft Visual C++ 将读取并更新此文件。
58 |
59 | FindWindow.manifest
60 | Windows XP 使用应用程序清单文件来描述特定版本的并行程序集的应用程序依赖项。加载程序使用这些信息来从程序集缓存中加载相应的程序集,并保护其不被应用程序访问。应用程序清单可能会包含在内,以作为与应用程序可执行文件安装在同一文件夹中的外部 .manifest 文件进行重新分发,它还可能以资源的形式包含在可执行文件中。
61 | /////////////////////////////////////////////////////////////////////////////
62 |
63 | 其他注释:
64 |
65 | 应用程序向导使用“TODO:”来指示应添加或自定义的源代码部分。
66 |
67 | 如果应用程序使用共享 DLL 中的 MFC,您将需要重新分发 MFC DLL。如果应用程序所使用的语言与操作系统的区域设置不同,则还需要重新分发相应的本地化资源 mfc110XXX.DLL。
68 | 有关上述话题的更多信息,请参见 MSDN 文档中有关重新分发 Visual C++ 应用程序的部分。
69 |
70 | /////////////////////////////////////////////////////////////////////////////
71 |
--------------------------------------------------------------------------------
/MallocDemo/MallocDemo/ReadMe.txt:
--------------------------------------------------------------------------------
1 | ================================================================================
2 | MICROSOFT 基础类库 : MallocDemo 项目概述
3 | ===============================================================================
4 |
5 | 应用程序向导已为您创建了此 MallocDemo 应用程序。此应用程序不仅演示 Microsoft 基础类的基本使用方法,还可作为您编写应用程序的起点。
6 |
7 | 本文件概要介绍组成 MallocDemo 应用程序的每个文件的内容。
8 |
9 | MallocDemo.vcxproj
10 | 这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
11 |
12 | MallocDemo.vcxproj.filters
13 | 这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
14 |
15 | MallocDemo.h
16 | 这是应用程序的主头文件。
17 | 其中包括其他项目特定的标头(包括 Resource.h),并声明 CMallocDemoApp 应用程序类。
18 |
19 | MallocDemo.cpp
20 | 这是包含应用程序类 CMallocDemoApp 的主应用程序源文件。
21 |
22 | MallocDemo.rc
23 | 这是程序使用的所有 Microsoft Windows 资源的列表。它包括 RES 子目录中存储的图标、位图和光标。此文件可以直接在 Microsoft Visual C++ 中进行编辑。项目资源包含在 2052 中。
24 |
25 | res\MallocDemo.ico
26 | 这是用作应用程序图标的图标文件。此图标包括在主资源文件 MallocDemo.rc 中。
27 |
28 | res\MallocDemo.rc2
29 | 此文件包含不在 Microsoft Visual C++ 中进行编辑的资源。您应该将不可由资源编辑器编辑的所有资源放在此文件中。
30 |
31 |
32 | /////////////////////////////////////////////////////////////////////////////
33 |
34 | 应用程序向导创建一个对话框类:
35 |
36 | MallocDemoDlg.h、MallocDemoDlg.cpp - 对话框
37 | 这些文件包含 CMallocDemoDlg 类。此类定义应用程序的主对话框的行为。对话框模板包含在 MallocDemo.rc 中,该文件可以在 Microsoft Visual C++ 中编辑。
38 |
39 | /////////////////////////////////////////////////////////////////////////////
40 |
41 | 其他功能:
42 |
43 | ActiveX 控件
44 | 该应用程序包含对使用 ActiveX 控件的支持。
45 |
46 | 打印和打印预览支持
47 | 应用程序向导通过从 MFC 库调用 CView 类中的成员函数生成代码,来处理打印、打印设置和打印预览命令。
48 |
49 | /////////////////////////////////////////////////////////////////////////////
50 |
51 | 其他标准文件:
52 |
53 | StdAfx.h, StdAfx.cpp
54 | 这些文件用于生成名为 MallocDemo.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
55 |
56 | Resource.h
57 | 这是标准头文件,可用于定义新的资源 ID。Microsoft Visual C++ 将读取并更新此文件。
58 |
59 | MallocDemo.manifest
60 | Windows XP 使用应用程序清单文件来描述特定版本的并行程序集的应用程序依赖项。加载程序使用这些信息来从程序集缓存中加载相应的程序集,并保护其不被应用程序访问。应用程序清单可能会包含在内,以作为与应用程序可执行文件安装在同一文件夹中的外部 .manifest 文件进行重新分发,它还可能以资源的形式包含在可执行文件中。
61 | /////////////////////////////////////////////////////////////////////////////
62 |
63 | 其他注释:
64 |
65 | 应用程序向导使用“TODO:”来指示应添加或自定义的源代码部分。
66 |
67 | 如果应用程序使用共享 DLL 中的 MFC,您将需要重新分发 MFC DLL。如果应用程序所使用的语言与操作系统的区域设置不同,则还需要重新分发相应的本地化资源 mfc110XXX.DLL。
68 | 有关上述话题的更多信息,请参见 MSDN 文档中有关重新分发 Visual C++ 应用程序的部分。
69 |
70 | /////////////////////////////////////////////////////////////////////////////
71 |
--------------------------------------------------------------------------------
/Inherit/Inherit/Inherit.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 头文件
23 |
24 |
25 | 头文件
26 |
27 |
28 | 头文件
29 |
30 |
31 | 头文件
32 |
33 |
34 | 头文件
35 |
36 |
37 | 头文件
38 |
39 |
40 | 头文件
41 |
42 |
43 |
44 |
45 | 源文件
46 |
47 |
48 | 源文件
49 |
50 |
51 | 源文件
52 |
53 |
54 | 源文件
55 |
56 |
57 | 源文件
58 |
59 |
60 |
61 |
62 | 资源文件
63 |
64 |
65 |
66 |
67 | 资源文件
68 |
69 |
70 |
71 |
72 | 资源文件
73 |
74 |
75 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeCCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc")
2 | set(CMAKE_C_COMPILER_ARG1 "")
3 | set(CMAKE_C_COMPILER_ID "AppleClang")
4 | set(CMAKE_C_COMPILER_VERSION "11.0.0.11000033")
5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
6 | set(CMAKE_C_COMPILER_WRAPPER "")
7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
12 |
13 | set(CMAKE_C_PLATFORM_ID "Darwin")
14 | set(CMAKE_C_SIMULATE_ID "")
15 | set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
16 | set(CMAKE_C_SIMULATE_VERSION "")
17 |
18 |
19 |
20 | set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
21 | set(CMAKE_C_COMPILER_AR "")
22 | set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
23 | set(CMAKE_C_COMPILER_RANLIB "")
24 | set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
25 | set(CMAKE_MT "")
26 | set(CMAKE_COMPILER_IS_GNUCC )
27 | set(CMAKE_C_COMPILER_LOADED 1)
28 | set(CMAKE_C_COMPILER_WORKS TRUE)
29 | set(CMAKE_C_ABI_COMPILED TRUE)
30 | set(CMAKE_COMPILER_IS_MINGW )
31 | set(CMAKE_COMPILER_IS_CYGWIN )
32 | if(CMAKE_COMPILER_IS_CYGWIN)
33 | set(CYGWIN 1)
34 | set(UNIX 1)
35 | endif()
36 |
37 | set(CMAKE_C_COMPILER_ENV_VAR "CC")
38 |
39 | if(CMAKE_COMPILER_IS_MINGW)
40 | set(MINGW 1)
41 | endif()
42 | set(CMAKE_C_COMPILER_ID_RUN 1)
43 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
44 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
45 | set(CMAKE_C_LINKER_PREFERENCE 10)
46 |
47 | # Save compiler ABI information.
48 | set(CMAKE_C_SIZEOF_DATA_PTR "8")
49 | set(CMAKE_C_COMPILER_ABI "")
50 | set(CMAKE_C_LIBRARY_ARCHITECTURE "")
51 |
52 | if(CMAKE_C_SIZEOF_DATA_PTR)
53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
54 | endif()
55 |
56 | if(CMAKE_C_COMPILER_ABI)
57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
58 | endif()
59 |
60 | if(CMAKE_C_LIBRARY_ARCHITECTURE)
61 | set(CMAKE_LIBRARY_ARCHITECTURE "")
62 | endif()
63 |
64 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
65 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
67 | endif()
68 |
69 |
70 |
71 |
72 |
73 | set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include")
74 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
75 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib")
76 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks")
77 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/Makefile.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | # The generator used is:
5 | set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
6 |
7 | # The top level Makefile was generated from the following files:
8 | set(CMAKE_MAKEFILE_DEPENDS
9 | "CMakeCache.txt"
10 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeCInformation.cmake"
11 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeCXXInformation.cmake"
12 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
13 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeCommonLanguageInclude.cmake"
14 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
15 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeFindCodeBlocks.cmake"
16 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeGenericSystem.cmake"
17 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeInitializeConfigs.cmake"
18 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeLanguageInformation.cmake"
19 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeSystemSpecificInformation.cmake"
20 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/CMakeSystemSpecificInitialize.cmake"
21 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Compiler/AppleClang-C.cmake"
22 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Compiler/AppleClang-CXX.cmake"
23 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
24 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Compiler/Clang.cmake"
25 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Compiler/GNU.cmake"
26 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Internal/CMakeCheckCompilerFlag.cmake"
27 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Apple-AppleClang-C.cmake"
28 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Apple-AppleClang-CXX.cmake"
29 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Apple-Clang-C.cmake"
30 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Apple-Clang-CXX.cmake"
31 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Apple-Clang.cmake"
32 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Darwin-Initialize.cmake"
33 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Darwin.cmake"
34 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/UnixPaths.cmake"
35 | "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/ProcessorCount.cmake"
36 | "../CMakeLists.txt"
37 | "CMakeFiles/3.15.3/CMakeCCompiler.cmake"
38 | "CMakeFiles/3.15.3/CMakeCXXCompiler.cmake"
39 | "CMakeFiles/3.15.3/CMakeSystem.cmake"
40 | )
41 |
42 | # The corresponding makefile is:
43 | set(CMAKE_MAKEFILE_OUTPUTS
44 | "Makefile"
45 | "CMakeFiles/cmake.check_cache"
46 | )
47 |
48 | # Byproducts of CMake generate step:
49 | set(CMAKE_MAKEFILE_PRODUCTS
50 | "CMakeFiles/CMakeDirectoryInformation.cmake"
51 | )
52 |
53 | # Dependency information for all targets:
54 | set(CMAKE_DEPEND_INFO_FILES
55 | "CMakeFiles/HeapSort.dir/DependInfo.cmake"
56 | )
57 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/Makefile2:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | #=============================================================================
10 | # Special targets provided by cmake.
11 |
12 | # Disable implicit rules so canonical targets will work.
13 | .SUFFIXES:
14 |
15 |
16 | # Remove some rules from gmake that .SUFFIXES does not remove.
17 | SUFFIXES =
18 |
19 | .SUFFIXES: .hpux_make_needs_suffix_list
20 |
21 |
22 | # Suppress display of executed commands.
23 | $(VERBOSE).SILENT:
24 |
25 |
26 | # A target that is always out of date.
27 | cmake_force:
28 |
29 | .PHONY : cmake_force
30 |
31 | #=============================================================================
32 | # Set environment variables for the build.
33 |
34 | # The shell in which to execute make rules.
35 | SHELL = /bin/sh
36 |
37 | # The CMake executable.
38 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
39 |
40 | # The command to remove a file.
41 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E remove -f
42 |
43 | # Escaping for special characters.
44 | EQUALS = =
45 |
46 | # The top-level source directory on which CMake was run.
47 | CMAKE_SOURCE_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort
48 |
49 | # The top-level build directory on which CMake was run.
50 | CMAKE_BINARY_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug
51 |
52 | #=============================================================================
53 | # Directory level rules for the build root directory
54 |
55 | # The main recursive "all" target.
56 | all: CMakeFiles/HeapSort.dir/all
57 |
58 | .PHONY : all
59 |
60 | # The main recursive "clean" target.
61 | clean: CMakeFiles/HeapSort.dir/clean
62 |
63 | .PHONY : clean
64 |
65 | # The main recursive "preinstall" target.
66 | preinstall:
67 |
68 | .PHONY : preinstall
69 |
70 | #=============================================================================
71 | # Target rules for target CMakeFiles/HeapSort.dir
72 |
73 | # All Build rule for target.
74 | CMakeFiles/HeapSort.dir/all:
75 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/depend
76 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/build
77 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles --progress-num=1,2 "Built target HeapSort"
78 | .PHONY : CMakeFiles/HeapSort.dir/all
79 |
80 | # Build rule for subdir invocation for target.
81 | CMakeFiles/HeapSort.dir/rule: cmake_check_build_system
82 | $(CMAKE_COMMAND) -E cmake_progress_start /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles 2
83 | $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/HeapSort.dir/all
84 | $(CMAKE_COMMAND) -E cmake_progress_start /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles 0
85 | .PHONY : CMakeFiles/HeapSort.dir/rule
86 |
87 | # Convenience name for target.
88 | HeapSort: CMakeFiles/HeapSort.dir/rule
89 |
90 | .PHONY : HeapSort
91 |
92 | # clean rule for target.
93 | CMakeFiles/HeapSort.dir/clean:
94 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/clean
95 | .PHONY : CMakeFiles/HeapSort.dir/clean
96 |
97 | #=============================================================================
98 | # Special targets to cleanup operation of make.
99 |
100 | # Special rule to run CMake to check the build system integrity.
101 | # No rule that depends on this can have commands that come from listfiles
102 | # because they might be regenerated.
103 | cmake_check_build_system:
104 | $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
105 | .PHONY : cmake_check_build_system
106 |
107 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
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 | # Remove some rules from gmake that .SUFFIXES does not remove.
16 | SUFFIXES =
17 |
18 | .SUFFIXES: .hpux_make_needs_suffix_list
19 |
20 |
21 | # Suppress display of executed commands.
22 | $(VERBOSE).SILENT:
23 |
24 |
25 | # A target that is always out of date.
26 | cmake_force:
27 |
28 | .PHONY : cmake_force
29 |
30 | #=============================================================================
31 | # Set environment variables for the build.
32 |
33 | # The shell in which to execute make rules.
34 | SHELL = /bin/sh
35 |
36 | # The CMake executable.
37 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
38 |
39 | # The command to remove a file.
40 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E remove -f
41 |
42 | # Escaping for special characters.
43 | EQUALS = =
44 |
45 | # The top-level source directory on which CMake was run.
46 | CMAKE_SOURCE_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort
47 |
48 | # The top-level build directory on which CMake was run.
49 | CMAKE_BINARY_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug
50 |
51 | # Include any dependencies generated for this target.
52 | include CMakeFiles/HeapSort.dir/depend.make
53 |
54 | # Include the progress variables for this target.
55 | include CMakeFiles/HeapSort.dir/progress.make
56 |
57 | # Include the compile flags for this target's objects.
58 | include CMakeFiles/HeapSort.dir/flags.make
59 |
60 | CMakeFiles/HeapSort.dir/main.cpp.o: CMakeFiles/HeapSort.dir/flags.make
61 | CMakeFiles/HeapSort.dir/main.cpp.o: ../main.cpp
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/HeapSort.dir/main.cpp.o"
63 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/HeapSort.dir/main.cpp.o -c /Users/method.jiao/Documents/C++Demo/HeapSort/main.cpp
64 |
65 | CMakeFiles/HeapSort.dir/main.cpp.i: cmake_force
66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/HeapSort.dir/main.cpp.i"
67 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/method.jiao/Documents/C++Demo/HeapSort/main.cpp > CMakeFiles/HeapSort.dir/main.cpp.i
68 |
69 | CMakeFiles/HeapSort.dir/main.cpp.s: cmake_force
70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/HeapSort.dir/main.cpp.s"
71 | /Library/Developer/CommandLineTools/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/method.jiao/Documents/C++Demo/HeapSort/main.cpp -o CMakeFiles/HeapSort.dir/main.cpp.s
72 |
73 | # Object files for target HeapSort
74 | HeapSort_OBJECTS = \
75 | "CMakeFiles/HeapSort.dir/main.cpp.o"
76 |
77 | # External object files for target HeapSort
78 | HeapSort_EXTERNAL_OBJECTS =
79 |
80 | HeapSort: CMakeFiles/HeapSort.dir/main.cpp.o
81 | HeapSort: CMakeFiles/HeapSort.dir/build.make
82 | HeapSort: CMakeFiles/HeapSort.dir/link.txt
83 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable HeapSort"
84 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/HeapSort.dir/link.txt --verbose=$(VERBOSE)
85 |
86 | # Rule to build all files generated by this target.
87 | CMakeFiles/HeapSort.dir/build: HeapSort
88 |
89 | .PHONY : CMakeFiles/HeapSort.dir/build
90 |
91 | CMakeFiles/HeapSort.dir/clean:
92 | $(CMAKE_COMMAND) -P CMakeFiles/HeapSort.dir/cmake_clean.cmake
93 | .PHONY : CMakeFiles/HeapSort.dir/clean
94 |
95 | CMakeFiles/HeapSort.dir/depend:
96 | cd /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/method.jiao/Documents/C++Demo/HeapSort /Users/method.jiao/Documents/C++Demo/HeapSort /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/HeapSort.dir/DependInfo.cmake --color=$(COLOR)
97 | .PHONY : CMakeFiles/HeapSort.dir/depend
98 |
99 |
--------------------------------------------------------------------------------
/TempleteSort/TempleteSort/TempleteSort.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 |
14 | {EE414513-CE37-45E9-9A9C-9E5B6C50B7ED}
15 | Win32Proj
16 | TempleteSort
17 |
18 |
19 |
20 | Application
21 | true
22 | v120
23 | Unicode
24 |
25 |
26 | Application
27 | false
28 | v120
29 | true
30 | Unicode
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | true
44 |
45 |
46 | false
47 |
48 |
49 |
50 | Use
51 | Level3
52 | Disabled
53 | WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
54 | true
55 |
56 |
57 | Console
58 | true
59 |
60 |
61 |
62 |
63 | Level3
64 | Use
65 | MaxSpeed
66 | true
67 | true
68 | WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
69 | true
70 |
71 |
72 | Console
73 | true
74 | true
75 | true
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 | Create
90 | Create
91 |
92 |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/CMakeFiles/3.15.3/CMakeCXXCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++")
2 | set(CMAKE_CXX_COMPILER_ARG1 "")
3 | set(CMAKE_CXX_COMPILER_ID "AppleClang")
4 | set(CMAKE_CXX_COMPILER_VERSION "11.0.0.11000033")
5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
6 | set(CMAKE_CXX_COMPILER_WRAPPER "")
7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20")
9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
13 | set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
14 |
15 | set(CMAKE_CXX_PLATFORM_ID "Darwin")
16 | set(CMAKE_CXX_SIMULATE_ID "")
17 | set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
18 | set(CMAKE_CXX_SIMULATE_VERSION "")
19 |
20 |
21 |
22 | set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
23 | set(CMAKE_CXX_COMPILER_AR "")
24 | set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
25 | set(CMAKE_CXX_COMPILER_RANLIB "")
26 | set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
27 | set(CMAKE_MT "")
28 | set(CMAKE_COMPILER_IS_GNUCXX )
29 | set(CMAKE_CXX_COMPILER_LOADED 1)
30 | set(CMAKE_CXX_COMPILER_WORKS TRUE)
31 | set(CMAKE_CXX_ABI_COMPILED TRUE)
32 | set(CMAKE_COMPILER_IS_MINGW )
33 | set(CMAKE_COMPILER_IS_CYGWIN )
34 | if(CMAKE_COMPILER_IS_CYGWIN)
35 | set(CYGWIN 1)
36 | set(UNIX 1)
37 | endif()
38 |
39 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
40 |
41 | if(CMAKE_COMPILER_IS_MINGW)
42 | set(MINGW 1)
43 | endif()
44 | set(CMAKE_CXX_COMPILER_ID_RUN 1)
45 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
46 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
47 | set(CMAKE_CXX_LINKER_PREFERENCE 30)
48 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
49 |
50 | # Save compiler ABI information.
51 | set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
52 | set(CMAKE_CXX_COMPILER_ABI "")
53 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
54 |
55 | if(CMAKE_CXX_SIZEOF_DATA_PTR)
56 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
57 | endif()
58 |
59 | if(CMAKE_CXX_COMPILER_ABI)
60 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
61 | endif()
62 |
63 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
64 | set(CMAKE_LIBRARY_ARCHITECTURE "")
65 | endif()
66 |
67 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
68 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
69 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
70 | endif()
71 |
72 |
73 |
74 |
75 |
76 | set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/include/c++/v1;/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include")
77 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++")
78 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib")
79 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks")
80 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.15
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake
43 |
44 | # The command to remove a file.
45 | RM = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | $(CMAKE_COMMAND) -E cmake_progress_start /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles/progress.marks
84 | $(MAKE) -f CMakeFiles/Makefile2 all
85 | $(CMAKE_COMMAND) -E cmake_progress_start /Users/method.jiao/Documents/C++Demo/HeapSort/cmake-build-debug/CMakeFiles 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | $(MAKE) -f CMakeFiles/Makefile2 clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | #=============================================================================
114 | # Target rules for targets named HeapSort
115 |
116 | # Build rule for target.
117 | HeapSort: cmake_check_build_system
118 | $(MAKE) -f CMakeFiles/Makefile2 HeapSort
119 | .PHONY : HeapSort
120 |
121 | # fast build rule for target.
122 | HeapSort/fast:
123 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/build
124 | .PHONY : HeapSort/fast
125 |
126 | main.o: main.cpp.o
127 |
128 | .PHONY : main.o
129 |
130 | # target to build an object file
131 | main.cpp.o:
132 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/main.cpp.o
133 | .PHONY : main.cpp.o
134 |
135 | main.i: main.cpp.i
136 |
137 | .PHONY : main.i
138 |
139 | # target to preprocess a source file
140 | main.cpp.i:
141 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/main.cpp.i
142 | .PHONY : main.cpp.i
143 |
144 | main.s: main.cpp.s
145 |
146 | .PHONY : main.s
147 |
148 | # target to generate assembly for a file
149 | main.cpp.s:
150 | $(MAKE) -f CMakeFiles/HeapSort.dir/build.make CMakeFiles/HeapSort.dir/main.cpp.s
151 | .PHONY : main.cpp.s
152 |
153 | # Help Target
154 | help:
155 | @echo "The following are some of the valid targets for this Makefile:"
156 | @echo "... all (the default if no target is provided)"
157 | @echo "... clean"
158 | @echo "... depend"
159 | @echo "... rebuild_cache"
160 | @echo "... edit_cache"
161 | @echo "... HeapSort"
162 | @echo "... main.o"
163 | @echo "... main.i"
164 | @echo "... main.s"
165 | .PHONY : help
166 |
167 |
168 |
169 | #=============================================================================
170 | # Special targets to cleanup operation of make.
171 |
172 | # Special rule to run CMake to check the build system integrity.
173 | # No rule that depends on this can have commands that come from listfiles
174 | # because they might be regenerated.
175 | cmake_check_build_system:
176 | $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
177 | .PHONY : cmake_check_build_system
178 |
179 |
--------------------------------------------------------------------------------
/HeapSort/cmake-build-debug/HeapSort.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/IteratorDelete/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | remove_if
28 | remove
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 | 1560244776654
66 |
67 |
68 | 1560244776654
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 | file://$PROJECT_DIR$/main.cpp
117 | 26
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/DataStructure/DataStructure/DataStructure.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | Win32Proj
24 | {51c8bd85-62c3-45c1-95e2-c89c532be9f1}
25 | DataStructure
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v143
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v143
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v143
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v143
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 | Level3
76 | true
77 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
78 | true
79 |
80 |
81 | Console
82 | true
83 |
84 |
85 |
86 |
87 | Level3
88 | true
89 | true
90 | true
91 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
92 | true
93 |
94 |
95 | Console
96 | true
97 | true
98 | true
99 |
100 |
101 |
102 |
103 | Level3
104 | true
105 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
106 | true
107 |
108 |
109 | Console
110 | true
111 |
112 |
113 |
114 |
115 | Level3
116 | true
117 | true
118 | true
119 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
120 | true
121 |
122 |
123 | Console
124 | true
125 | true
126 | true
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
--------------------------------------------------------------------------------
/PtrMethod/PtrMethod/PtrMethod.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {289DABD6-2BB8-4F80-A8CD-421C0E429299}
24 | Win32Proj
25 | PtrMethod
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v142
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v142
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | true
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 |
87 |
88 |
89 | Level3
90 | Disabled
91 | true
92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
93 | true
94 |
95 |
96 | Console
97 | true
98 |
99 |
100 |
101 |
102 |
103 |
104 | Level3
105 | Disabled
106 | true
107 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
108 | true
109 |
110 |
111 | Console
112 | true
113 |
114 |
115 |
116 |
117 |
118 |
119 | Level3
120 | MaxSpeed
121 | true
122 | true
123 | true
124 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
125 | true
126 |
127 |
128 | Console
129 | true
130 | true
131 | true
132 |
133 |
134 |
135 |
136 |
137 |
138 | Level3
139 | MaxSpeed
140 | true
141 | true
142 | true
143 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
144 | true
145 |
146 |
147 | Console
148 | true
149 | true
150 | true
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/PtrMemoryLeak/PtrMemoryLeak/PtrMemoryLeak.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {5E3B7CD6-4A4F-4383-9EAF-CA6DC48520AB}
24 | Win32Proj
25 | PtrMemoryLeak
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v142
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v142
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | true
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 |
87 |
88 |
89 | Level3
90 | Disabled
91 | true
92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
93 | true
94 |
95 |
96 | Console
97 | true
98 |
99 |
100 |
101 |
102 |
103 |
104 | Level3
105 | Disabled
106 | true
107 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
108 | true
109 |
110 |
111 | Console
112 | true
113 |
114 |
115 |
116 |
117 |
118 |
119 | Level3
120 | MaxSpeed
121 | true
122 | true
123 | true
124 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
125 | true
126 |
127 |
128 | Console
129 | true
130 | true
131 | true
132 |
133 |
134 |
135 |
136 |
137 |
138 | Level3
139 | MaxSpeed
140 | true
141 | true
142 | true
143 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
144 | true
145 |
146 |
147 | Console
148 | true
149 | true
150 | true
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/VirtualRelease/VirtualRelease/VirtualRelease.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {DB1726D8-2AC2-45C4-AD5D-682DA9D864EC}
24 | Win32Proj
25 | VirtualRelease
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v142
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v142
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | true
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 |
87 |
88 |
89 | Level3
90 | Disabled
91 | true
92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
93 | true
94 |
95 |
96 | Console
97 | true
98 |
99 |
100 |
101 |
102 |
103 |
104 | Level3
105 | Disabled
106 | true
107 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
108 | true
109 |
110 |
111 | Console
112 | true
113 |
114 |
115 |
116 |
117 |
118 |
119 | Level3
120 | MaxSpeed
121 | true
122 | true
123 | true
124 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
125 | true
126 |
127 |
128 | Console
129 | true
130 | true
131 | true
132 |
133 |
134 |
135 |
136 |
137 |
138 | Level3
139 | MaxSpeed
140 | true
141 | true
142 | true
143 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
144 | true
145 |
146 |
147 | Console
148 | true
149 | true
150 | true
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
--------------------------------------------------------------------------------
/DllUpdate/DllUpdate/DllUpdate.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {F0F61DEF-F828-4F50-A6E1-37025CE03BEA}
24 | Win32Proj
25 | DllUpdate
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v142
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v142
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | true
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 |
87 |
88 |
89 | Level3
90 | Disabled
91 | true
92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
93 | true
94 |
95 |
96 | Console
97 | true
98 | $(SolutionDir)Debug;%(AdditionalLibraryDirectories)
99 |
100 |
101 |
102 |
103 |
104 |
105 | Level3
106 | Disabled
107 | true
108 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
109 | true
110 |
111 |
112 | Console
113 | true
114 |
115 |
116 |
117 |
118 |
119 |
120 | Level3
121 | MaxSpeed
122 | true
123 | true
124 | true
125 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
126 | true
127 |
128 |
129 | Console
130 | true
131 | true
132 | true
133 |
134 |
135 |
136 |
137 |
138 |
139 | Level3
140 | MaxSpeed
141 | true
142 | true
143 | true
144 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
145 | true
146 |
147 |
148 | Console
149 | true
150 | true
151 | true
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
--------------------------------------------------------------------------------
/OpenMPDemo/OpenMPDemo/OpenMPDemo.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {89125FFA-7058-46DC-BFF8-870976795E6B}
24 | Win32Proj
25 | OpenMPDemo
26 | 10.0
27 |
28 |
29 |
30 | Application
31 | true
32 | v142
33 | Unicode
34 |
35 |
36 | Application
37 | false
38 | v142
39 | true
40 | Unicode
41 |
42 |
43 | Application
44 | true
45 | v142
46 | Unicode
47 |
48 |
49 | Application
50 | false
51 | v142
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | true
75 |
76 |
77 | true
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 |
87 |
88 |
89 | Level3
90 | Disabled
91 | true
92 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
93 | false
94 | true
95 | MultiThreadedDebugDLL
96 |
97 |
98 | Console
99 | true
100 |
101 |
102 |
103 |
104 |
105 |
106 | Level3
107 | Disabled
108 | true
109 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
110 | true
111 |
112 |
113 | Console
114 | true
115 |
116 |
117 |
118 |
119 |
120 |
121 | Level3
122 | MaxSpeed
123 | true
124 | true
125 | true
126 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
127 | false
128 | true
129 |
130 |
131 | Console
132 | true
133 | true
134 | true
135 |
136 |
137 |
138 |
139 |
140 |
141 | Level3
142 | MaxSpeed
143 | true
144 | true
145 | true
146 | NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
147 | true
148 |
149 |
150 | Console
151 | true
152 | true
153 | true
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
--------------------------------------------------------------------------------