CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
- 이 문서는 CMake를 주관적으로 서술합니다
- 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자
| #include <iostream> | |
| using namespace std; | |
| template<class T, int size> | |
| class StaticArray_BASE | |
| { | |
| public: | |
| T* getArray() { return m_array; } |
| #include <iostream> | |
| #include <iterator> | |
| #include <vector> | |
| /*---------------- | |
| Merge Sort | |
| ----------------*/ | |
| template <typename T> | |
| std::vector<T> merge(std::vector<T> &left, std::vector<T> &right) { |
| #include <iostream> | |
| #include <iterator> | |
| #include <vector> | |
| /*---------------- | |
| Quick Sort | |
| ----------------*/ | |
| template <typename T> | |
| auto partition(typename std::vector<T>::iterator begin, |
| #include <algorithm> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <map> | |
| #include <queue> | |
| #include <set> | |
| #include <vector> | |
| using namespace std; |
| #include <algorithm> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <map> | |
| #include <stack> | |
| #include <set> | |
| #include <vector> | |
| using namespace std; |
| #include <sched.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <iostream> | |
| int main(int argc, char* argv[]) { | |
| /* | |
| you can run this code in below command |