├── .idea ├── codeStyles │ └── Project.xml └── vcs.xml ├── CMakeLists.txt ├── README.md ├── arraylist.c ├── arraylist.h ├── avl_bst.c ├── avl_bst.h ├── bst.c ├── bst.h ├── btree.c ├── btree.h ├── cmake-build-debug ├── CMakeCache.txt ├── CMakeFiles │ ├── 3.12.3 │ │ ├── CMakeCCompiler.cmake │ │ ├── CMakeDetermineCompilerABI_C.bin │ │ ├── CMakeRCCompiler.cmake │ │ ├── CMakeSystem.cmake │ │ └── CompilerIdC │ │ │ ├── CMakeCCompilerId.c │ │ │ └── a.exe │ ├── CMakeDirectoryInformation.cmake │ ├── CMakeOutput.log │ ├── DSAImplementation.dir │ │ ├── C.includecache │ │ ├── DependInfo.cmake │ │ ├── arraylist.c.obj │ │ ├── arraylist.obj │ │ ├── avl_bst.c.obj │ │ ├── bst.c.obj │ │ ├── btree.c.obj │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── depend.internal │ │ ├── depend.make │ │ ├── flags.make │ │ ├── graph.c.obj │ │ ├── graph2.c.obj │ │ ├── heap.c.obj │ │ ├── helpers.c.obj │ │ ├── helpers.obj │ │ ├── includes_C.rsp │ │ ├── link.txt │ │ ├── linkedlist.c.obj │ │ ├── linkedlist.obj │ │ ├── linklibs.rsp │ │ ├── liststructures.c.obj │ │ ├── liststructures.obj │ │ ├── main.c.obj │ │ ├── main.obj │ │ ├── main_tree.c.obj │ │ ├── objects.a │ │ ├── objects1.rsp │ │ ├── progress.make │ │ ├── queue_ll.c.obj │ │ ├── sortnsearch.c.obj │ │ ├── sortnsearch.obj │ │ ├── stackQueue.c.obj │ │ ├── stack_al.c.obj │ │ ├── tree.c.obj │ │ └── tree.obj │ ├── Makefile.cmake │ ├── Makefile2 │ ├── TargetDirectories.txt │ ├── clion-environment.txt │ ├── clion-log.txt │ ├── cmake.check_cache │ ├── feature_tests.bin │ ├── feature_tests.c │ └── progress.marks ├── DSAImplementation.cbp ├── DSAImplementation.exe ├── Makefile └── cmake_install.cmake ├── graph.c ├── graph.h ├── graph2.c ├── graph2.h ├── heap.c ├── heap.h ├── helpers.c ├── helpers.h ├── linkedlist.c ├── linkedlist.h ├── liststructures.c ├── liststructures.h ├── main.c ├── main.h ├── main_tree.c ├── main_tree.h ├── queue_ll.c ├── queue_ll.h ├── sortnsearch.c ├── sortnsearch.h ├── stackQueue.c ├── stackQueue.h ├── stack_al.c └── stack_al.h /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # cmake_minimum_required(VERSION ) 2 | cmake_minimum_required(VERSION 3.12) 3 | project(DSAImplementation C) 4 | 5 | set(CMAKE_C_STANDARD 11) 6 | 7 | include_directories(/usr/local/lib) 8 | 9 | set(CMAKE_INCLUDE_CURRENT_DIR ) 10 | set(CMAKE_INCLUDE_PATH /usr/local/lib) 11 | 12 | 13 | add_executable(DSAImplementation main.c arraylist.c arraylist.h liststructures.c liststructures.h helpers.c helpers.h linkedlist.c linkedlist.h sortnsearch.c sortnsearch.h stack_al.h stack_al.c stack_al.h stackQueue.c stackQueue.h main.h queue_ll.c queue_ll.h avl_bst.c avl_bst.h bst.c bst.h btree.c btree.h main_tree.c main_tree.h graph.c graph.h graph2.c graph2.h heap.c heap.h) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DSAonC 2 | Data Structures and Algorithms implemented in C 3 | 4 | A simple project to implement Data Structures and Algorithms in C language. 5 | Currently support data structures: 6 | > Array List 7 | > Linked List 8 | > Stack 9 | > Queue 10 | > Heap 11 | > Tree 12 | > Graph 13 | 14 | -------------------------------------------------------------------------------- /arraylist.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | 5 | #include "arraylist.h" 6 | #include 7 | #include 8 | 9 | 10 | arrayList *newArrayList(int n){ 11 | arrayList *aList = malloc(sizeof(*aList) + sizeof(int)*n); 12 | aList->size = 0; 13 | aList->totalSize = n; 14 | aList->data = malloc(sizeof(int)*n); 15 | return aList; 16 | } 17 | 18 | void insert_arrayList(arrayList *aList, int item, int position){ 19 | if(aList->size < aList->totalSize && position>-1){ 20 | int endPos = aList->size; 21 | for(int i = endPos; i>=position; i--){ 22 | (aList->data)[i+1] = (aList->data)[i]; 23 | } 24 | (aList->data)[position] = item; 25 | (aList->size)++; 26 | } 27 | } 28 | 29 | int isEmpty_arrayList(arrayList aList){ 30 | if(aList.size == 0) 31 | return 1; 32 | else return 0; 33 | } 34 | 35 | void displayList_arrayList(arrayList aList){ 36 | printf("Contents of array list: "); 37 | for(int i = 0; i ", aList.data[i]); 39 | } 40 | } 41 | 42 | void delete_arrayList(arrayList *aList, int pos){ 43 | if(pos > aList->size){ 44 | //Overflow condition 45 | }else if(pos==aList->size){ 46 | (aList->size)--; 47 | }else{ 48 | for(int i = pos; isize; i++){ 49 | (aList->data)[i] = (aList->data)[i+1]; 50 | } 51 | (aList->size)--; 52 | } 53 | } -------------------------------------------------------------------------------- /arraylist.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_ARRAYLIST_H 6 | #define DSAIMPLEMENTATION_ARRAYLIST_H 7 | 8 | 9 | typedef struct arrayList{ 10 | int totalSize; 11 | int size; 12 | int *data; 13 | } arrayList; 14 | 15 | arrayList *newArrayList(int); 16 | void displayList_arrayList(arrayList); 17 | int isEmpty_arrayList(arrayList); 18 | void insertEnd(arrayList*, int); 19 | void insert_arrayList(arrayList*, int, int); 20 | void insertTop(arrayList*, int); 21 | void delete_arrayList(arrayList*, int); 22 | #endif //DSAIMPLEMENTATION_ARRAYLIST_H 23 | -------------------------------------------------------------------------------- /avl_bst.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #include "avl_bst.h" 6 | #include 7 | 8 | tree* re_balance_bst(tree *t) 9 | { 10 | int left_tree, right_tree, side; 11 | left_tree=height_tree(t->left); 12 | right_tree=height_tree(t->right); 13 | side = left_tree > right_tree ? -1 : 1 ; 14 | temp_tree = left_tree > right_tree ? t->left : t->right; 15 | if(abs(left_tree-right_tree)>1) 16 | { 17 | if(side == -1) // left sided 18 | { 19 | if(temp_tree->left != NULL) // left left 20 | { 21 | t->left = temp_tree->right; 22 | temp_tree->right = t; 23 | return temp_tree; 24 | } 25 | else // left right 26 | { 27 | t->left = t->right = NULL; 28 | temp_tree->right->right = t; 29 | temp_tree->right->left = temp_tree; 30 | t = temp_tree->right; 31 | temp_tree->left = temp_tree->right = NULL; 32 | return t; 33 | } 34 | } 35 | else // right sided 36 | { 37 | if(temp_tree->right != NULL) // right right 38 | { 39 | t->right = temp_tree->left; 40 | temp_tree->left = t; 41 | return temp_tree; 42 | } 43 | else // right left 44 | { 45 | t->left = t->right = NULL; 46 | temp_tree->left->left = t; 47 | temp_tree->left->right = temp_tree; 48 | t = temp_tree->left; 49 | temp_tree->left = temp_tree->right = NULL; 50 | return t; 51 | } 52 | } 53 | } 54 | else 55 | return t; 56 | } 57 | 58 | tree* insert_bst(tree *t, int key) 59 | { 60 | temp_tree = search_bst(t, key); 61 | if(temp_tree != NULL && temp_tree->key == key) 62 | return NULL; 63 | else if(t==NULL) 64 | return create_tree_node(key); 65 | else if(key < t->key) 66 | { 67 | t->left = insert_bst(t->left, key); 68 | return re_balance_bst(t); 69 | } 70 | else if(key > t->key) 71 | { 72 | t->right = insert_bst(t->right, key); 73 | return re_balance_bst(t); 74 | } 75 | } 76 | 77 | tree* array_insert_bst(tree* t, int Ns[], int n) 78 | { 79 | int i; 80 | for(i=0; i 10 | 11 | tree* re_balance_bst(tree*); 12 | tree* insert_bst(tree*, int); 13 | tree* array_insert_bst(tree*, int[], int); 14 | 15 | #endif //DSAIMPLEMENTATION_AVL_BST_H 16 | -------------------------------------------------------------------------------- /bst.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #include "bst.h" 6 | #include 7 | 8 | tree* search_bst(tree *t, int key) 9 | { 10 | if(t == NULL || t->key == key) 11 | return t; 12 | else if(key < t->key) 13 | return search_bst(t->left, key); 14 | else if(key > t->key) 15 | return search_bst(t->right, key); 16 | } 17 | 18 | tree* minimum_key_bst(tree *t) 19 | { 20 | if(t == NULL || t->left == NULL) 21 | return t; 22 | else 23 | minimum_key_bst(t->left); 24 | } 25 | 26 | tree* maximum_key_bst(tree *t) 27 | { 28 | if(t == NULL || t->right == NULL) 29 | return t; 30 | else 31 | maximum_key_bst(t->right); 32 | } -------------------------------------------------------------------------------- /bst.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_BST_H 6 | #define DSAIMPLEMENTATION_BST_H 7 | 8 | #include "btree.h" 9 | 10 | tree* search_bst(tree*, int); 11 | tree* minimum_key_bst(tree*); 12 | tree* maximum_key_bst(tree*); 13 | 14 | 15 | #endif //DSAIMPLEMENTATION_BST_H 16 | -------------------------------------------------------------------------------- /btree.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #include "btree.h" 6 | #include 7 | #include 8 | 9 | tree* create_tree_node(int key) 10 | { 11 | temp_tree = (tree *)malloc(sizeof(tree)); 12 | temp_tree->key = key; 13 | temp_tree->left = temp_tree->right = NULL; 14 | return temp_tree; 15 | } 16 | 17 | void in_order_tree(tree *t) 18 | { 19 | if(t==NULL) 20 | return; 21 | else 22 | { 23 | in_order_tree(t->left); 24 | printf("%d ",t->key); 25 | in_order_tree(t->right); 26 | } 27 | } 28 | 29 | void pre_order_tree(tree *t) 30 | { 31 | if(t==NULL) 32 | return; 33 | else 34 | { 35 | printf("%d ",t->key); 36 | pre_order_tree(t->left); 37 | pre_order_tree(t->right); 38 | } 39 | } 40 | 41 | void post_order_tree(tree *t) 42 | { 43 | if(t==NULL) 44 | return; 45 | else 46 | { 47 | post_order_tree(t->left); 48 | post_order_tree(t->right); 49 | printf("%d ",t->key); 50 | } 51 | } 52 | 53 | void traversal_tree(tree *t, int ch) 54 | { 55 | switch(ch) 56 | { 57 | case 1: 58 | printf("\nPre Order Traversal :\n"); 59 | pre_order_tree(t); 60 | break; 61 | case 2: 62 | printf("\nIn Order Traversal :\n"); 63 | in_order_tree(t); 64 | break; 65 | case 3: 66 | printf("\nPost Order Traversal :\n"); 67 | post_order_tree(t); 68 | break; 69 | } 70 | } 71 | 72 | void print2DUtil(tree *t, int space) 73 | { 74 | // Base case 75 | if (t == NULL) 76 | return; 77 | 78 | // Increase distance between levels 79 | space += COUNT; 80 | 81 | // Process right child first 82 | print2DUtil(t->right, space); 83 | 84 | // Print current node after space 85 | // count 86 | printf("\n"); 87 | int i; 88 | for(i = COUNT; i < space; i++) 89 | printf(" "); 90 | printf("%d\n", t->key); 91 | 92 | // Process left child 93 | print2DUtil(t->left, space); 94 | } 95 | 96 | void print_bt(tree *t) 97 | { 98 | print2DUtil(t, 0); 99 | } 100 | 101 | int height_tree(tree *t) 102 | { 103 | int left_height,right_height; 104 | if(t == NULL) 105 | return -1; 106 | else 107 | { 108 | left_height = height_tree(t->left); 109 | right_height = height_tree(t->right); 110 | return 1+(left_height > right_height ? left_height : right_height); 111 | } 112 | } 113 | -------------------------------------------------------------------------------- /btree.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_BTREE_H 6 | #define DSAIMPLEMENTATION_BTREE_H 7 | 8 | #define COUNT 10 9 | 10 | typedef struct tree 11 | { 12 | struct tree *left; 13 | struct tree *right; 14 | int key; 15 | }tree; 16 | tree *root_tree, *temp_tree; 17 | 18 | tree* create_tree_node(int); 19 | void in_order_tree(tree*); 20 | void pre_order_tree(tree*); 21 | void post_order_tree(tree*); 22 | void traversal_tree(tree*, int); 23 | void print2DUtil(tree*, int); 24 | void print_bt(tree*); 25 | int height_tree(tree*); 26 | 27 | 28 | #endif //DSAIMPLEMENTATION_BTREE_H 29 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeCache.txt: -------------------------------------------------------------------------------- 1 | # This is the CMakeCache file. 2 | # For build in directory: c:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug 3 | # It was generated by CMake: D:/CLion 2018.2.5/bin/cmake/win/bin/cmake.exe 4 | # You can edit this file to change values found and used by cmake. 5 | # If you do not want to change any of the values, simply exit the editor. 6 | # If you do want to change a value, simply edit, save, and exit the editor. 7 | # The syntax for the file is as follows: 8 | # KEY:TYPE=VALUE 9 | # KEY is the name of a variable in the cache. 10 | # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. 11 | # VALUE is the current value for the KEY. 12 | 13 | ######################## 14 | # EXTERNAL cache entries 15 | ######################## 16 | 17 | //Path to a program. 18 | CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe 19 | 20 | //For backwards compatibility, what version of CMake commands and 21 | // syntax should this version of CMake try to support. 22 | CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4 23 | 24 | //Choose the type of build, options are: None Debug Release RelWithDebInfo 25 | // MinSizeRel ... 26 | CMAKE_BUILD_TYPE:STRING=Debug 27 | 28 | //Id string of the compiler for the CodeBlocks IDE. Automatically 29 | // detected when left empty 30 | CMAKE_CODEBLOCKS_COMPILER_ID:STRING= 31 | 32 | //The CodeBlocks executable 33 | CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND 34 | 35 | //Additional command line arguments when CodeBlocks invokes make. 36 | // Enter e.g. -j to get parallel builds 37 | CMAKE_CODEBLOCKS_MAKE_ARGUMENTS:STRING= 38 | 39 | //Enable/Disable color output during build. 40 | CMAKE_COLOR_MAKEFILE:BOOL=ON 41 | 42 | //C compiler 43 | CMAKE_C_COMPILER:FILEPATH=C:/MinGW/bin/gcc.exe 44 | 45 | //A wrapper around 'ar' adding the appropriate '--plugin' option 46 | // for the GCC compiler 47 | CMAKE_C_COMPILER_AR:FILEPATH=C:/MinGW/bin/gcc-ar.exe 48 | 49 | //A wrapper around 'ranlib' adding the appropriate '--plugin' option 50 | // for the GCC compiler 51 | CMAKE_C_COMPILER_RANLIB:FILEPATH=C:/MinGW/bin/gcc-ranlib.exe 52 | 53 | //Flags used by the C compiler during all build types. 54 | CMAKE_C_FLAGS:STRING= 55 | 56 | //Flags used by the C compiler during DEBUG builds. 57 | CMAKE_C_FLAGS_DEBUG:STRING=-g 58 | 59 | //Flags used by the C compiler during MINSIZEREL builds. 60 | CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG 61 | 62 | //Flags used by the C compiler during RELEASE builds. 63 | CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG 64 | 65 | //Flags used by the C compiler during RELWITHDEBINFO builds. 66 | CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG 67 | 68 | //Libraries linked by default with all C applications. 69 | CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 70 | 71 | //Flags used by the linker during all build types. 72 | CMAKE_EXE_LINKER_FLAGS:STRING= 73 | 74 | //Flags used by the linker during DEBUG builds. 75 | CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= 76 | 77 | //Flags used by the linker during MINSIZEREL builds. 78 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= 79 | 80 | //Flags used by the linker during RELEASE builds. 81 | CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= 82 | 83 | //Flags used by the linker during RELWITHDEBINFO builds. 84 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= 85 | 86 | //Convert GNU import libraries to MS format (requires Visual Studio) 87 | CMAKE_GNUtoMS:BOOL=OFF 88 | 89 | //Install path prefix, prepended onto install directories. 90 | CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/DSAImplementation 91 | 92 | //Path to a program. 93 | CMAKE_LINKER:FILEPATH=C:/MinGW/bin/ld.exe 94 | 95 | //Path to a program. 96 | CMAKE_MAKE_PROGRAM:FILEPATH=C:/MinGW/bin/mingw32-make.exe 97 | 98 | //Flags used by the linker during the creation of modules during 99 | // all build types. 100 | CMAKE_MODULE_LINKER_FLAGS:STRING= 101 | 102 | //Flags used by the linker during the creation of modules during 103 | // DEBUG builds. 104 | CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= 105 | 106 | //Flags used by the linker during the creation of modules during 107 | // MINSIZEREL builds. 108 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= 109 | 110 | //Flags used by the linker during the creation of modules during 111 | // RELEASE builds. 112 | CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= 113 | 114 | //Flags used by the linker during the creation of modules during 115 | // RELWITHDEBINFO builds. 116 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= 117 | 118 | //Path to a program. 119 | CMAKE_NM:FILEPATH=C:/MinGW/bin/nm.exe 120 | 121 | //Path to a program. 122 | CMAKE_OBJCOPY:FILEPATH=C:/MinGW/bin/objcopy.exe 123 | 124 | //Path to a program. 125 | CMAKE_OBJDUMP:FILEPATH=C:/MinGW/bin/objdump.exe 126 | 127 | //Value Computed by CMake 128 | CMAKE_PROJECT_NAME:STATIC=DSAImplementation 129 | 130 | //Path to a program. 131 | CMAKE_RANLIB:FILEPATH=C:/MinGW/bin/ranlib.exe 132 | 133 | //RC compiler 134 | CMAKE_RC_COMPILER:FILEPATH=C:/MinGW/bin/windres.exe 135 | 136 | //Flags for Windows Resource Compiler during all build types. 137 | CMAKE_RC_FLAGS:STRING= 138 | 139 | //Flags for Windows Resource Compiler during DEBUG builds. 140 | CMAKE_RC_FLAGS_DEBUG:STRING= 141 | 142 | //Flags for Windows Resource Compiler during MINSIZEREL builds. 143 | CMAKE_RC_FLAGS_MINSIZEREL:STRING= 144 | 145 | //Flags for Windows Resource Compiler during RELEASE builds. 146 | CMAKE_RC_FLAGS_RELEASE:STRING= 147 | 148 | //Flags for Windows Resource Compiler during RELWITHDEBINFO builds. 149 | CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= 150 | 151 | //Path to a program. 152 | CMAKE_SH:FILEPATH=CMAKE_SH-NOTFOUND 153 | 154 | //Flags used by the linker during the creation of shared libraries 155 | // during all build types. 156 | CMAKE_SHARED_LINKER_FLAGS:STRING= 157 | 158 | //Flags used by the linker during the creation of shared libraries 159 | // during DEBUG builds. 160 | CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= 161 | 162 | //Flags used by the linker during the creation of shared libraries 163 | // during MINSIZEREL builds. 164 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= 165 | 166 | //Flags used by the linker during the creation of shared libraries 167 | // during RELEASE builds. 168 | CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= 169 | 170 | //Flags used by the linker during the creation of shared libraries 171 | // during RELWITHDEBINFO builds. 172 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= 173 | 174 | //If set, runtime paths are not added when installing shared libraries, 175 | // but are added when building. 176 | CMAKE_SKIP_INSTALL_RPATH:BOOL=NO 177 | 178 | //If set, runtime paths are not added when using shared libraries. 179 | CMAKE_SKIP_RPATH:BOOL=NO 180 | 181 | //Flags used by the linker during the creation of static libraries 182 | // during all build types. 183 | CMAKE_STATIC_LINKER_FLAGS:STRING= 184 | 185 | //Flags used by the linker during the creation of static libraries 186 | // during DEBUG builds. 187 | CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= 188 | 189 | //Flags used by the linker during the creation of static libraries 190 | // during MINSIZEREL builds. 191 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= 192 | 193 | //Flags used by the linker during the creation of static libraries 194 | // during RELEASE builds. 195 | CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= 196 | 197 | //Flags used by the linker during the creation of static libraries 198 | // during RELWITHDEBINFO builds. 199 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= 200 | 201 | //Path to a program. 202 | CMAKE_STRIP:FILEPATH=C:/MinGW/bin/strip.exe 203 | 204 | //If this value is on, makefiles will be generated without the 205 | // .SILENT directive, and all commands will be echoed to the console 206 | // during the make. This is useful for debugging only. With Visual 207 | // Studio IDE projects all commands are done without /nologo. 208 | CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE 209 | 210 | //Value Computed by CMake 211 | DSAImplementation_BINARY_DIR:STATIC=C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug 212 | 213 | //Value Computed by CMake 214 | DSAImplementation_SOURCE_DIR:STATIC=C:/Users/Akshay/CLionProjects/DSAonC 215 | 216 | //Single output directory for building all executables. 217 | EXECUTABLE_OUTPUT_PATH:PATH= 218 | 219 | //Single output directory for building all libraries. 220 | LIBRARY_OUTPUT_PATH:PATH= 221 | 222 | 223 | ######################## 224 | # INTERNAL cache entries 225 | ######################## 226 | 227 | //ADVANCED property for variable: CMAKE_AR 228 | CMAKE_AR-ADVANCED:INTERNAL=1 229 | //This is the directory where this CMakeCache.txt was created 230 | CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug 231 | //Major version of cmake used to create the current loaded cache 232 | CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 233 | //Minor version of cmake used to create the current loaded cache 234 | CMAKE_CACHE_MINOR_VERSION:INTERNAL=12 235 | //Patch version of cmake used to create the current loaded cache 236 | CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 237 | //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE 238 | CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 239 | //Path to CMake executable. 240 | CMAKE_COMMAND:INTERNAL=D:/CLion 2018.2.5/bin/cmake/win/bin/cmake.exe 241 | //Path to cpack program executable. 242 | CMAKE_CPACK_COMMAND:INTERNAL=D:/CLion 2018.2.5/bin/cmake/win/bin/cpack.exe 243 | //Path to ctest program executable. 244 | CMAKE_CTEST_COMMAND:INTERNAL=D:/CLion 2018.2.5/bin/cmake/win/bin/ctest.exe 245 | //ADVANCED property for variable: CMAKE_C_COMPILER 246 | CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 247 | //ADVANCED property for variable: CMAKE_C_COMPILER_AR 248 | CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 249 | //ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB 250 | CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 251 | //ADVANCED property for variable: CMAKE_C_FLAGS 252 | CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 253 | //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG 254 | CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 255 | //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL 256 | CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 257 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE 258 | CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 259 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO 260 | CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 261 | //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES 262 | CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 263 | //Executable file format 264 | CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown 265 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS 266 | CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 267 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG 268 | CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 269 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL 270 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 271 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE 272 | CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 273 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO 274 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 275 | //Name of external makefile project generator. 276 | CMAKE_EXTRA_GENERATOR:INTERNAL=CodeBlocks 277 | //C compiler system defined macros 278 | CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201112L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;6;__GNUC_MINOR__;3;__GNUC_PATCHLEVEL__; ;__VERSION__;"6.3.0";__ATOMIC_RELAXED; ;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__FINITE_MATH_ONLY__; ;__SIZEOF_INT__;4;__SIZEOF_LONG__;4;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;12;__SIZEOF_SIZE_T__;4;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;4;__SIZE_TYPE__;unsigned int;__PTRDIFF_TYPE__;int;__WCHAR_TYPE__;short unsigned int;__WINT_TYPE__;short unsigned int;__INTMAX_TYPE__;long long int;__UINTMAX_TYPE__;long long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;short int;__INT_FAST32_TYPE__;int;__INT_FAST64_TYPE__;long long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;short unsigned int;__UINT_FAST32_TYPE__;unsigned int;__UINT_FAST64_TYPE__;long long unsigned int;__INTPTR_TYPE__;int;__UINTPTR_TYPE__;unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_ABI_VERSION;1010;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0xffff;__WCHAR_MIN__; ;__WINT_MAX__;0xffff;__WINT_MIN__; ;__PTRDIFF_MAX__;0x7fffffff;__SIZE_MAX__;0xffffffffU;__INTMAX_MAX__;0x7fffffffffffffffLL;__INTMAX_C(c);c ## LL;__UINTMAX_MAX__;0xffffffffffffffffULL;__UINTMAX_C(c);c ## ULL;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffLL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffULL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST64_MAX__;0x7fffffffffffffffLL;__INT64_C(c);c ## LL;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffULL;__UINT64_C(c);c ## ULL;__INT_FAST8_MAX__;0x7f;__INT_FAST16_MAX__;0x7fff;__INT_FAST32_MAX__;0x7fffffff;__INT_FAST64_MAX__;0x7fffffffffffffffLL;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffff;__UINT_FAST32_MAX__;0xffffffffU;__UINT_FAST64_MAX__;0xffffffffffffffffULL;__INTPTR_MAX__;0x7fffffff;__UINTPTR_MAX__;0xffffffffU;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;2;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859812e+38F;__FLT_MIN__;1.17549435082228750797e-38F;__FLT_EPSILON__;1.19209289550781250000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;((double)1.79769313486231570815e+308L);__DBL_MIN__;((double)2.22507385850720138309e-308L);__DBL_EPSILON__;((double)2.22044604925031308085e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544177e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502e+4932L;__LDBL_MIN__;3.36210314311209350626e-4932L;__LDBL_EPSILON__;1.08420217248550443401e-19L;__LDBL_DENORM_MIN__;3.64519953188247460253e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__;_;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SIZEOF_WCHAR_T__;2;__SIZEOF_WINT_T__;2;__SIZEOF_PTRDIFF_T__;4;__i386;1;__i386__;1;i386;1;__SIZEOF_FLOAT80__;12;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__i586;1;__i586__;1;__pentium;1;__pentium__;1;__code_model_32__;1;__SEG_FS;1;__SEG_GS;1;_X86_;1;__stdcall;__attribute__((__stdcall__));__fastcall;__attribute__((__fastcall__));__thiscall;__attribute__((__thiscall__));__cdecl;__attribute__((__cdecl__));_stdcall;__attribute__((__stdcall__));_fastcall;__attribute__((__fastcall__));_thiscall;__attribute__((__thiscall__));_cdecl;__attribute__((__cdecl__));__GXX_MERGED_TYPEINFO_NAMES; ;__GXX_TYPEINFO_EQUALITY_INLINE; ;__MSVCRT__;1;__MINGW32__;1;_WIN32;1;__WIN32;1;__WIN32__;1;WIN32;1;__WINNT;1;__WINNT__;1;WINNT;1;_INTEGRAL_MAX_BITS;64;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1 279 | //C compiler system include directories 280 | CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=c:\mingw\bin\../lib/gcc/mingw32/6.3.0/include;c:\mingw\bin\../lib/gcc/mingw32/6.3.0/../../../../include;c:\mingw\bin\../lib/gcc/mingw32/6.3.0/include-fixed;c:\mingw\bin\../lib/gcc/mingw32/6.3.0/../../../../mingw32/include 281 | //Name of generator. 282 | CMAKE_GENERATOR:INTERNAL=MinGW Makefiles 283 | //Generator instance identifier. 284 | CMAKE_GENERATOR_INSTANCE:INTERNAL= 285 | //Name of generator platform. 286 | CMAKE_GENERATOR_PLATFORM:INTERNAL= 287 | //Name of generator toolset. 288 | CMAKE_GENERATOR_TOOLSET:INTERNAL= 289 | //Source directory with the top level CMakeLists.txt file for this 290 | // project 291 | CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/Akshay/CLionProjects/DSAonC 292 | //ADVANCED property for variable: CMAKE_LINKER 293 | CMAKE_LINKER-ADVANCED:INTERNAL=1 294 | //ADVANCED property for variable: CMAKE_MAKE_PROGRAM 295 | CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 296 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS 297 | CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 298 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG 299 | CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 300 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL 301 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 302 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE 303 | CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 304 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO 305 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 306 | //ADVANCED property for variable: CMAKE_NM 307 | CMAKE_NM-ADVANCED:INTERNAL=1 308 | //number of local generators 309 | CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 310 | //ADVANCED property for variable: CMAKE_OBJCOPY 311 | CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 312 | //ADVANCED property for variable: CMAKE_OBJDUMP 313 | CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 314 | //Platform information initialized 315 | CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 316 | //ADVANCED property for variable: CMAKE_RANLIB 317 | CMAKE_RANLIB-ADVANCED:INTERNAL=1 318 | //ADVANCED property for variable: CMAKE_RC_COMPILER 319 | CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 320 | CMAKE_RC_COMPILER_WORKS:INTERNAL=1 321 | //ADVANCED property for variable: CMAKE_RC_FLAGS 322 | CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 323 | //ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG 324 | CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 325 | //ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL 326 | CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 327 | //ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE 328 | CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 329 | //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO 330 | CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 331 | //Path to CMake installation. 332 | CMAKE_ROOT:INTERNAL=D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12 333 | //ADVANCED property for variable: CMAKE_SH 334 | CMAKE_SH-ADVANCED:INTERNAL=1 335 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS 336 | CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 337 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG 338 | CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 339 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL 340 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 341 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE 342 | CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 343 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO 344 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 345 | //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH 346 | CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 347 | //ADVANCED property for variable: CMAKE_SKIP_RPATH 348 | CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 349 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS 350 | CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 351 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG 352 | CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 353 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL 354 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 355 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE 356 | CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 357 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO 358 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 359 | //ADVANCED property for variable: CMAKE_STRIP 360 | CMAKE_STRIP-ADVANCED:INTERNAL=1 361 | //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE 362 | CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 363 | 364 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CMakeCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_C_COMPILER "C:/MinGW/bin/gcc.exe") 2 | set(CMAKE_C_COMPILER_ARG1 "") 3 | set(CMAKE_C_COMPILER_ID "GNU") 4 | set(CMAKE_C_COMPILER_VERSION "6.3.0") 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 "MinGW") 14 | set(CMAKE_C_SIMULATE_ID "") 15 | set(CMAKE_C_SIMULATE_VERSION "") 16 | 17 | 18 | 19 | set(CMAKE_AR "C:/MinGW/bin/ar.exe") 20 | set(CMAKE_C_COMPILER_AR "C:/MinGW/bin/gcc-ar.exe") 21 | set(CMAKE_RANLIB "C:/MinGW/bin/ranlib.exe") 22 | set(CMAKE_C_COMPILER_RANLIB "C:/MinGW/bin/gcc-ranlib.exe") 23 | set(CMAKE_LINKER "C:/MinGW/bin/ld.exe") 24 | set(CMAKE_COMPILER_IS_GNUCC 1) 25 | set(CMAKE_C_COMPILER_LOADED 1) 26 | set(CMAKE_C_COMPILER_WORKS TRUE) 27 | set(CMAKE_C_ABI_COMPILED TRUE) 28 | set(CMAKE_COMPILER_IS_MINGW 1) 29 | set(CMAKE_COMPILER_IS_CYGWIN ) 30 | if(CMAKE_COMPILER_IS_CYGWIN) 31 | set(CYGWIN 1) 32 | set(UNIX 1) 33 | endif() 34 | 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") 36 | 37 | if(CMAKE_COMPILER_IS_MINGW) 38 | set(MINGW 1) 39 | endif() 40 | set(CMAKE_C_COMPILER_ID_RUN 1) 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) 43 | set(CMAKE_C_LINKER_PREFERENCE 10) 44 | 45 | # Save compiler ABI information. 46 | set(CMAKE_C_SIZEOF_DATA_PTR "4") 47 | set(CMAKE_C_COMPILER_ABI "") 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "") 49 | 50 | if(CMAKE_C_SIZEOF_DATA_PTR) 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") 52 | endif() 53 | 54 | if(CMAKE_C_COMPILER_ABI) 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") 56 | endif() 57 | 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) 59 | set(CMAKE_LIBRARY_ARCHITECTURE "") 60 | endif() 61 | 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") 65 | endif() 66 | 67 | 68 | 69 | 70 | 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "mingw32;gcc;moldname;mingwex;advapi32;shell32;user32;kernel32;mingw32;gcc;moldname;mingwex") 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "C:/MinGW/lib/gcc/mingw32/6.3.0;C:/MinGW/lib/gcc;C:/MinGW/mingw32/lib;C:/MinGW/lib") 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") 74 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/3.12.3/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CMakeRCCompiler.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_RC_COMPILER "C:/MinGW/bin/windres.exe") 2 | set(CMAKE_RC_COMPILER_ARG1 "") 3 | set(CMAKE_RC_COMPILER_LOADED 1) 4 | set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) 5 | set(CMAKE_RC_OUTPUT_EXTENSION .obj) 6 | set(CMAKE_RC_COMPILER_ENV_VAR "RC") 7 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Windows-10.0.17134") 2 | set(CMAKE_HOST_SYSTEM_NAME "Windows") 3 | set(CMAKE_HOST_SYSTEM_VERSION "10.0.17134") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Windows-10.0.17134") 9 | set(CMAKE_SYSTEM_NAME "Windows") 10 | set(CMAKE_SYSTEM_VERSION "10.0.17134") 11 | set(CMAKE_SYSTEM_PROCESSOR "AMD64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CompilerIdC/CMakeCCompilerId.c: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | # error "A C++ compiler has been selected for C." 3 | #endif 4 | 5 | #if defined(__18CXX) 6 | # define ID_VOID_MAIN 7 | #endif 8 | #if defined(__CLASSIC_C__) 9 | /* cv-qualifiers did not exist in K&R C */ 10 | # define const 11 | # define volatile 12 | #endif 13 | 14 | 15 | /* Version number components: V=Version, R=Revision, P=Patch 16 | Version date components: YYYY=Year, MM=Month, DD=Day */ 17 | 18 | #if defined(__INTEL_COMPILER) || defined(__ICC) 19 | # define COMPILER_ID "Intel" 20 | # if defined(_MSC_VER) 21 | # define SIMULATE_ID "MSVC" 22 | # endif 23 | /* __INTEL_COMPILER = VRP */ 24 | # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) 25 | # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) 26 | # if defined(__INTEL_COMPILER_UPDATE) 27 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) 28 | # else 29 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) 30 | # endif 31 | # if defined(__INTEL_COMPILER_BUILD_DATE) 32 | /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ 33 | # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) 34 | # endif 35 | # if defined(_MSC_VER) 36 | /* _MSC_VER = VVRR */ 37 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) 38 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) 39 | # endif 40 | 41 | #elif defined(__PATHCC__) 42 | # define COMPILER_ID "PathScale" 43 | # define COMPILER_VERSION_MAJOR DEC(__PATHCC__) 44 | # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) 45 | # if defined(__PATHCC_PATCHLEVEL__) 46 | # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) 47 | # endif 48 | 49 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) 50 | # define COMPILER_ID "Embarcadero" 51 | # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) 52 | # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) 53 | # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) 54 | 55 | #elif defined(__BORLANDC__) 56 | # define COMPILER_ID "Borland" 57 | /* __BORLANDC__ = 0xVRR */ 58 | # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) 59 | # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) 60 | 61 | #elif defined(__WATCOMC__) && __WATCOMC__ < 1200 62 | # define COMPILER_ID "Watcom" 63 | /* __WATCOMC__ = VVRR */ 64 | # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) 65 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) 66 | # if (__WATCOMC__ % 10) > 0 67 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) 68 | # endif 69 | 70 | #elif defined(__WATCOMC__) 71 | # define COMPILER_ID "OpenWatcom" 72 | /* __WATCOMC__ = VVRP + 1100 */ 73 | # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) 74 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) 75 | # if (__WATCOMC__ % 10) > 0 76 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) 77 | # endif 78 | 79 | #elif defined(__SUNPRO_C) 80 | # define COMPILER_ID "SunPro" 81 | # if __SUNPRO_C >= 0x5100 82 | /* __SUNPRO_C = 0xVRRP */ 83 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) 84 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) 85 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) 86 | # else 87 | /* __SUNPRO_CC = 0xVRP */ 88 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) 89 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) 90 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) 91 | # endif 92 | 93 | #elif defined(__HP_cc) 94 | # define COMPILER_ID "HP" 95 | /* __HP_cc = VVRRPP */ 96 | # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) 97 | # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) 98 | # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) 99 | 100 | #elif defined(__DECC) 101 | # define COMPILER_ID "Compaq" 102 | /* __DECC_VER = VVRRTPPPP */ 103 | # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) 104 | # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) 105 | # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) 106 | 107 | #elif defined(__IBMC__) && defined(__COMPILER_VER__) 108 | # define COMPILER_ID "zOS" 109 | # if defined(__ibmxl__) 110 | # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) 111 | # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) 112 | # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) 113 | # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) 114 | # else 115 | /* __IBMC__ = VRP */ 116 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) 117 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) 118 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) 119 | # endif 120 | 121 | 122 | #elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800) 123 | # define COMPILER_ID "XL" 124 | # if defined(__ibmxl__) 125 | # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) 126 | # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) 127 | # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) 128 | # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) 129 | # else 130 | /* __IBMC__ = VRP */ 131 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) 132 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) 133 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) 134 | # endif 135 | 136 | 137 | #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 138 | # define COMPILER_ID "VisualAge" 139 | # if defined(__ibmxl__) 140 | # define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) 141 | # define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) 142 | # define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) 143 | # define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) 144 | # else 145 | /* __IBMC__ = VRP */ 146 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) 147 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) 148 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) 149 | # endif 150 | 151 | 152 | #elif defined(__PGI) 153 | # define COMPILER_ID "PGI" 154 | # define COMPILER_VERSION_MAJOR DEC(__PGIC__) 155 | # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) 156 | # if defined(__PGIC_PATCHLEVEL__) 157 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) 158 | # endif 159 | 160 | #elif defined(_CRAYC) 161 | # define COMPILER_ID "Cray" 162 | # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) 163 | # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) 164 | 165 | #elif defined(__TI_COMPILER_VERSION__) 166 | # define COMPILER_ID "TI" 167 | /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ 168 | # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) 169 | # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) 170 | # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) 171 | 172 | #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) 173 | # define COMPILER_ID "Fujitsu" 174 | 175 | #elif defined(__TINYC__) 176 | # define COMPILER_ID "TinyCC" 177 | 178 | #elif defined(__BCC__) 179 | # define COMPILER_ID "Bruce" 180 | 181 | #elif defined(__SCO_VERSION__) 182 | # define COMPILER_ID "SCO" 183 | 184 | #elif defined(__clang__) && defined(__apple_build_version__) 185 | # define COMPILER_ID "AppleClang" 186 | # if defined(_MSC_VER) 187 | # define SIMULATE_ID "MSVC" 188 | # endif 189 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__) 190 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__) 191 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) 192 | # if defined(_MSC_VER) 193 | /* _MSC_VER = VVRR */ 194 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) 195 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) 196 | # endif 197 | # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) 198 | 199 | #elif defined(__clang__) 200 | # define COMPILER_ID "Clang" 201 | # if defined(_MSC_VER) 202 | # define SIMULATE_ID "MSVC" 203 | # endif 204 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__) 205 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__) 206 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) 207 | # if defined(_MSC_VER) 208 | /* _MSC_VER = VVRR */ 209 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) 210 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) 211 | # endif 212 | 213 | #elif defined(__GNUC__) 214 | # define COMPILER_ID "GNU" 215 | # define COMPILER_VERSION_MAJOR DEC(__GNUC__) 216 | # if defined(__GNUC_MINOR__) 217 | # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) 218 | # endif 219 | # if defined(__GNUC_PATCHLEVEL__) 220 | # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) 221 | # endif 222 | 223 | #elif defined(_MSC_VER) 224 | # define COMPILER_ID "MSVC" 225 | /* _MSC_VER = VVRR */ 226 | # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) 227 | # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) 228 | # if defined(_MSC_FULL_VER) 229 | # if _MSC_VER >= 1400 230 | /* _MSC_FULL_VER = VVRRPPPPP */ 231 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) 232 | # else 233 | /* _MSC_FULL_VER = VVRRPPPP */ 234 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) 235 | # endif 236 | # endif 237 | # if defined(_MSC_BUILD) 238 | # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) 239 | # endif 240 | 241 | #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) 242 | # define COMPILER_ID "ADSP" 243 | #if defined(__VISUALDSPVERSION__) 244 | /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ 245 | # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) 246 | # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) 247 | # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) 248 | #endif 249 | 250 | #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) 251 | # define COMPILER_ID "IAR" 252 | # if defined(__VER__) 253 | # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) 254 | # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) 255 | # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) 256 | # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) 257 | # endif 258 | 259 | #elif defined(__ARMCC_VERSION) 260 | # define COMPILER_ID "ARMCC" 261 | #if __ARMCC_VERSION >= 1000000 262 | /* __ARMCC_VERSION = VRRPPPP */ 263 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) 264 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) 265 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) 266 | #else 267 | /* __ARMCC_VERSION = VRPPPP */ 268 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) 269 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) 270 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) 271 | #endif 272 | 273 | 274 | #elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) 275 | # define COMPILER_ID "SDCC" 276 | # if defined(__SDCC_VERSION_MAJOR) 277 | # define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) 278 | # define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) 279 | # define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) 280 | # else 281 | /* SDCC = VRP */ 282 | # define COMPILER_VERSION_MAJOR DEC(SDCC/100) 283 | # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) 284 | # define COMPILER_VERSION_PATCH DEC(SDCC % 10) 285 | # endif 286 | 287 | #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) 288 | # define COMPILER_ID "MIPSpro" 289 | # if defined(_SGI_COMPILER_VERSION) 290 | /* _SGI_COMPILER_VERSION = VRP */ 291 | # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) 292 | # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) 293 | # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) 294 | # else 295 | /* _COMPILER_VERSION = VRP */ 296 | # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) 297 | # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) 298 | # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) 299 | # endif 300 | 301 | 302 | /* These compilers are either not known or too old to define an 303 | identification macro. Try to identify the platform and guess that 304 | it is the native compiler. */ 305 | #elif defined(__sgi) 306 | # define COMPILER_ID "MIPSpro" 307 | 308 | #elif defined(__hpux) || defined(__hpua) 309 | # define COMPILER_ID "HP" 310 | 311 | #else /* unknown compiler */ 312 | # define COMPILER_ID "" 313 | #endif 314 | 315 | /* Construct the string literal in pieces to prevent the source from 316 | getting matched. Store it in a pointer rather than an array 317 | because some compilers will just produce instructions to fill the 318 | array rather than assigning a pointer to a static array. */ 319 | char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; 320 | #ifdef SIMULATE_ID 321 | char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; 322 | #endif 323 | 324 | #ifdef __QNXNTO__ 325 | char const* qnxnto = "INFO" ":" "qnxnto[]"; 326 | #endif 327 | 328 | #if defined(__CRAYXE) || defined(__CRAYXC) 329 | char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; 330 | #endif 331 | 332 | #define STRINGIFY_HELPER(X) #X 333 | #define STRINGIFY(X) STRINGIFY_HELPER(X) 334 | 335 | /* Identify known platforms by name. */ 336 | #if defined(__linux) || defined(__linux__) || defined(linux) 337 | # define PLATFORM_ID "Linux" 338 | 339 | #elif defined(__CYGWIN__) 340 | # define PLATFORM_ID "Cygwin" 341 | 342 | #elif defined(__MINGW32__) 343 | # define PLATFORM_ID "MinGW" 344 | 345 | #elif defined(__APPLE__) 346 | # define PLATFORM_ID "Darwin" 347 | 348 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) 349 | # define PLATFORM_ID "Windows" 350 | 351 | #elif defined(__FreeBSD__) || defined(__FreeBSD) 352 | # define PLATFORM_ID "FreeBSD" 353 | 354 | #elif defined(__NetBSD__) || defined(__NetBSD) 355 | # define PLATFORM_ID "NetBSD" 356 | 357 | #elif defined(__OpenBSD__) || defined(__OPENBSD) 358 | # define PLATFORM_ID "OpenBSD" 359 | 360 | #elif defined(__sun) || defined(sun) 361 | # define PLATFORM_ID "SunOS" 362 | 363 | #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) 364 | # define PLATFORM_ID "AIX" 365 | 366 | #elif defined(__sgi) || defined(__sgi__) || defined(_SGI) 367 | # define PLATFORM_ID "IRIX" 368 | 369 | #elif defined(__hpux) || defined(__hpux__) 370 | # define PLATFORM_ID "HP-UX" 371 | 372 | #elif defined(__HAIKU__) 373 | # define PLATFORM_ID "Haiku" 374 | 375 | #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) 376 | # define PLATFORM_ID "BeOS" 377 | 378 | #elif defined(__QNX__) || defined(__QNXNTO__) 379 | # define PLATFORM_ID "QNX" 380 | 381 | #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) 382 | # define PLATFORM_ID "Tru64" 383 | 384 | #elif defined(__riscos) || defined(__riscos__) 385 | # define PLATFORM_ID "RISCos" 386 | 387 | #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) 388 | # define PLATFORM_ID "SINIX" 389 | 390 | #elif defined(__UNIX_SV__) 391 | # define PLATFORM_ID "UNIX_SV" 392 | 393 | #elif defined(__bsdos__) 394 | # define PLATFORM_ID "BSDOS" 395 | 396 | #elif defined(_MPRAS) || defined(MPRAS) 397 | # define PLATFORM_ID "MP-RAS" 398 | 399 | #elif defined(__osf) || defined(__osf__) 400 | # define PLATFORM_ID "OSF1" 401 | 402 | #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) 403 | # define PLATFORM_ID "SCO_SV" 404 | 405 | #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) 406 | # define PLATFORM_ID "ULTRIX" 407 | 408 | #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) 409 | # define PLATFORM_ID "Xenix" 410 | 411 | #elif defined(__WATCOMC__) 412 | # if defined(__LINUX__) 413 | # define PLATFORM_ID "Linux" 414 | 415 | # elif defined(__DOS__) 416 | # define PLATFORM_ID "DOS" 417 | 418 | # elif defined(__OS2__) 419 | # define PLATFORM_ID "OS2" 420 | 421 | # elif defined(__WINDOWS__) 422 | # define PLATFORM_ID "Windows3x" 423 | 424 | # else /* unknown platform */ 425 | # define PLATFORM_ID 426 | # endif 427 | 428 | #else /* unknown platform */ 429 | # define PLATFORM_ID 430 | 431 | #endif 432 | 433 | /* For windows compilers MSVC and Intel we can determine 434 | the architecture of the compiler being used. This is because 435 | the compilers do not have flags that can change the architecture, 436 | but rather depend on which compiler is being used 437 | */ 438 | #if defined(_WIN32) && defined(_MSC_VER) 439 | # if defined(_M_IA64) 440 | # define ARCHITECTURE_ID "IA64" 441 | 442 | # elif defined(_M_X64) || defined(_M_AMD64) 443 | # define ARCHITECTURE_ID "x64" 444 | 445 | # elif defined(_M_IX86) 446 | # define ARCHITECTURE_ID "X86" 447 | 448 | # elif defined(_M_ARM64) 449 | # define ARCHITECTURE_ID "ARM64" 450 | 451 | # elif defined(_M_ARM) 452 | # if _M_ARM == 4 453 | # define ARCHITECTURE_ID "ARMV4I" 454 | # elif _M_ARM == 5 455 | # define ARCHITECTURE_ID "ARMV5I" 456 | # else 457 | # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) 458 | # endif 459 | 460 | # elif defined(_M_MIPS) 461 | # define ARCHITECTURE_ID "MIPS" 462 | 463 | # elif defined(_M_SH) 464 | # define ARCHITECTURE_ID "SHx" 465 | 466 | # else /* unknown architecture */ 467 | # define ARCHITECTURE_ID "" 468 | # endif 469 | 470 | #elif defined(__WATCOMC__) 471 | # if defined(_M_I86) 472 | # define ARCHITECTURE_ID "I86" 473 | 474 | # elif defined(_M_IX86) 475 | # define ARCHITECTURE_ID "X86" 476 | 477 | # else /* unknown architecture */ 478 | # define ARCHITECTURE_ID "" 479 | # endif 480 | 481 | #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) 482 | # if defined(__ICCARM__) 483 | # define ARCHITECTURE_ID "ARM" 484 | 485 | # elif defined(__ICCAVR__) 486 | # define ARCHITECTURE_ID "AVR" 487 | 488 | # else /* unknown architecture */ 489 | # define ARCHITECTURE_ID "" 490 | # endif 491 | #else 492 | # define ARCHITECTURE_ID 493 | #endif 494 | 495 | /* Convert integer to decimal digit literals. */ 496 | #define DEC(n) \ 497 | ('0' + (((n) / 10000000)%10)), \ 498 | ('0' + (((n) / 1000000)%10)), \ 499 | ('0' + (((n) / 100000)%10)), \ 500 | ('0' + (((n) / 10000)%10)), \ 501 | ('0' + (((n) / 1000)%10)), \ 502 | ('0' + (((n) / 100)%10)), \ 503 | ('0' + (((n) / 10)%10)), \ 504 | ('0' + ((n) % 10)) 505 | 506 | /* Convert integer to hex digit literals. */ 507 | #define HEX(n) \ 508 | ('0' + ((n)>>28 & 0xF)), \ 509 | ('0' + ((n)>>24 & 0xF)), \ 510 | ('0' + ((n)>>20 & 0xF)), \ 511 | ('0' + ((n)>>16 & 0xF)), \ 512 | ('0' + ((n)>>12 & 0xF)), \ 513 | ('0' + ((n)>>8 & 0xF)), \ 514 | ('0' + ((n)>>4 & 0xF)), \ 515 | ('0' + ((n) & 0xF)) 516 | 517 | /* Construct a string literal encoding the version number components. */ 518 | #ifdef COMPILER_VERSION_MAJOR 519 | char const info_version[] = { 520 | 'I', 'N', 'F', 'O', ':', 521 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', 522 | COMPILER_VERSION_MAJOR, 523 | # ifdef COMPILER_VERSION_MINOR 524 | '.', COMPILER_VERSION_MINOR, 525 | # ifdef COMPILER_VERSION_PATCH 526 | '.', COMPILER_VERSION_PATCH, 527 | # ifdef COMPILER_VERSION_TWEAK 528 | '.', COMPILER_VERSION_TWEAK, 529 | # endif 530 | # endif 531 | # endif 532 | ']','\0'}; 533 | #endif 534 | 535 | /* Construct a string literal encoding the internal version number. */ 536 | #ifdef COMPILER_VERSION_INTERNAL 537 | char const info_version_internal[] = { 538 | 'I', 'N', 'F', 'O', ':', 539 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', 540 | 'i','n','t','e','r','n','a','l','[', 541 | COMPILER_VERSION_INTERNAL,']','\0'}; 542 | #endif 543 | 544 | /* Construct a string literal encoding the version number components. */ 545 | #ifdef SIMULATE_VERSION_MAJOR 546 | char const info_simulate_version[] = { 547 | 'I', 'N', 'F', 'O', ':', 548 | 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', 549 | SIMULATE_VERSION_MAJOR, 550 | # ifdef SIMULATE_VERSION_MINOR 551 | '.', SIMULATE_VERSION_MINOR, 552 | # ifdef SIMULATE_VERSION_PATCH 553 | '.', SIMULATE_VERSION_PATCH, 554 | # ifdef SIMULATE_VERSION_TWEAK 555 | '.', SIMULATE_VERSION_TWEAK, 556 | # endif 557 | # endif 558 | # endif 559 | ']','\0'}; 560 | #endif 561 | 562 | /* Construct the string literal in pieces to prevent the source from 563 | getting matched. Store it in a pointer rather than an array 564 | because some compilers will just produce instructions to fill the 565 | array rather than assigning a pointer to a static array. */ 566 | char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; 567 | char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; 568 | 569 | 570 | 571 | 572 | #if !defined(__STDC__) 573 | # if (defined(_MSC_VER) && !defined(__clang__)) \ 574 | || (defined(__ibmxl__) || defined(__IBMC__)) 575 | # define C_DIALECT "90" 576 | # else 577 | # define C_DIALECT 578 | # endif 579 | #elif __STDC_VERSION__ >= 201000L 580 | # define C_DIALECT "11" 581 | #elif __STDC_VERSION__ >= 199901L 582 | # define C_DIALECT "99" 583 | #else 584 | # define C_DIALECT "90" 585 | #endif 586 | const char* info_language_dialect_default = 587 | "INFO" ":" "dialect_default[" C_DIALECT "]"; 588 | 589 | /*--------------------------------------------------------------------------*/ 590 | 591 | #ifdef ID_VOID_MAIN 592 | void main() {} 593 | #else 594 | # if defined(__CLASSIC_C__) 595 | int main(argc, argv) int argc; char *argv[]; 596 | # else 597 | int main(int argc, char* argv[]) 598 | # endif 599 | { 600 | int require = 0; 601 | require += info_compiler[argc]; 602 | require += info_platform[argc]; 603 | require += info_arch[argc]; 604 | #ifdef COMPILER_VERSION_MAJOR 605 | require += info_version[argc]; 606 | #endif 607 | #ifdef COMPILER_VERSION_INTERNAL 608 | require += info_version_internal[argc]; 609 | #endif 610 | #ifdef SIMULATE_ID 611 | require += info_simulate[argc]; 612 | #endif 613 | #ifdef SIMULATE_VERSION_MAJOR 614 | require += info_simulate_version[argc]; 615 | #endif 616 | #if defined(__CRAYXE) || defined(__CRAYXC) 617 | require += info_cray[argc]; 618 | #endif 619 | require += info_language_dialect_default[argc]; 620 | (void)argv; 621 | return require; 622 | } 623 | #endif 624 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/3.12.3/CompilerIdC/a.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/3.12.3/CompilerIdC/a.exe -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | # Relative path conversion top directories. 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "C:/Users/Akshay/CLionProjects/DSAonC") 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "C:/Users/Akshay/CLionProjects/DSAonC/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 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/CMakeOutput.log: -------------------------------------------------------------------------------- 1 | The system is: Windows - 10.0.17134 - AMD64 2 | Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. 3 | Compiler: C:/MinGW/bin/gcc.exe 4 | Build flags: 5 | Id flags: 6 | 7 | The output was: 8 | 0 9 | 10 | 11 | Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe" 12 | 13 | The C compiler identification is GNU, found in "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/3.12.3/CompilerIdC/a.exe" 14 | 15 | Determining if the C compiler works passed with the following output: 16 | Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp 17 | 18 | Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_c5190/fast" 19 | C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_c5190.dir\build.make CMakeFiles/cmTC_c5190.dir/build 20 | mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 21 | Building C object CMakeFiles/cmTC_c5190.dir/testCCompiler.c.obj 22 | C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_c5190.dir\testCCompiler.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\CMakeTmp\testCCompiler.c 23 | Linking C executable cmTC_c5190.exe 24 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_c5190.dir\link.txt --verbose=1 25 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_c5190.dir/objects.a 26 | C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_c5190.dir/objects.a @CMakeFiles\cmTC_c5190.dir\objects1.rsp 27 | C:\MinGW\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_c5190.dir/objects.a -Wl,--no-whole-archive -o cmTC_c5190.exe -Wl,--out-implib,libcmTC_c5190.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_c5190.dir\linklibs.rsp 28 | mingw32-make.exe[1]: Leaving directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 29 | 30 | 31 | Detecting C compiler ABI info compiled with the following output: 32 | Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp 33 | 34 | Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_8d02a/fast" 35 | C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_8d02a.dir\build.make CMakeFiles/cmTC_8d02a.dir/build 36 | mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 37 | Building C object CMakeFiles/cmTC_8d02a.dir/CMakeCCompilerABI.c.obj 38 | C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_8d02a.dir\CMakeCCompilerABI.c.obj -c "D:\CLion 2018.2.5\bin\cmake\win\share\cmake-3.12\Modules\CMakeCCompilerABI.c" 39 | Linking C executable cmTC_8d02a.exe 40 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_8d02a.dir\link.txt --verbose=1 41 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_8d02a.dir/objects.a 42 | C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_8d02a.dir/objects.a @CMakeFiles\cmTC_8d02a.dir\objects1.rsp 43 | C:\MinGW\bin\gcc.exe -v -Wl,--whole-archive CMakeFiles\cmTC_8d02a.dir/objects.a -Wl,--no-whole-archive -o cmTC_8d02a.exe -Wl,--out-implib,libcmTC_8d02a.dll.a -Wl,--major-image-version,0,--minor-image-version,0 44 | Using built-in specs. 45 | COLLECT_GCC=C:\MinGW\bin\gcc.exe 46 | COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe 47 | Target: mingw32 48 | Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --target=mingw32 --with-gmp=/mingw --with-mpfr --with-mpc=/mingw --with-isl=/mingw --prefix=/mingw --disable-win32-registry --with-arch=i586 --with-tune=generic --enable-languages=c,c++,objc,obj-c++,fortran,ada --with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw --with-libintl-prefix=/mingw --enable-libstdcxx-debug --enable-libgomp --disable-libvtv --enable-nls 49 | Thread model: win32 50 | gcc version 6.3.0 (MinGW.org GCC-6.3.0-1) 51 | COMPILER_PATH=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/;c:/mingw/bin/../libexec/gcc/;c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ 52 | LIBRARY_PATH=c:/mingw/bin/../lib/gcc/mingw32/6.3.0/;c:/mingw/bin/../lib/gcc/;c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib/;c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../ 53 | COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8d02a.exe' '-mtune=generic' '-march=i586' 54 | c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/collect2.exe -plugin c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/liblto_plugin-0.dll -plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Akshay\AppData\Local\Temp\ccC27Ojk.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -Bdynamic -o cmTC_8d02a.exe c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtbegin.o -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0 -Lc:/mingw/bin/../lib/gcc -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../.. --whole-archive CMakeFiles\cmTC_8d02a.dir/objects.a --no-whole-archive --out-implib libcmTC_8d02a.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o 55 | COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8d02a.exe' '-mtune=generic' '-march=i586' 56 | mingw32-make.exe[1]: Leaving directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 57 | 58 | 59 | Parsed C implicit link information from above output: 60 | link line regex: [^( *|.*[/\])(ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] 61 | ignore line: [Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp] 62 | ignore line: [] 63 | ignore line: [Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_8d02a/fast"] 64 | ignore line: [C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_8d02a.dir\build.make CMakeFiles/cmTC_8d02a.dir/build] 65 | ignore line: [mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp'] 66 | ignore line: [Building C object CMakeFiles/cmTC_8d02a.dir/CMakeCCompilerABI.c.obj] 67 | ignore line: [C:\MinGW\bin\gcc.exe -o CMakeFiles\cmTC_8d02a.dir\CMakeCCompilerABI.c.obj -c "D:\CLion 2018.2.5\bin\cmake\win\share\cmake-3.12\Modules\CMakeCCompilerABI.c"] 68 | ignore line: [Linking C executable cmTC_8d02a.exe] 69 | ignore line: ["D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_8d02a.dir\link.txt --verbose=1] 70 | ignore line: ["D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_8d02a.dir/objects.a] 71 | ignore line: [C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_8d02a.dir/objects.a @CMakeFiles\cmTC_8d02a.dir\objects1.rsp] 72 | ignore line: [C:\MinGW\bin\gcc.exe -v -Wl,--whole-archive CMakeFiles\cmTC_8d02a.dir/objects.a -Wl,--no-whole-archive -o cmTC_8d02a.exe -Wl,--out-implib,libcmTC_8d02a.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ] 73 | ignore line: [Using built-in specs.] 74 | ignore line: [COLLECT_GCC=C:\MinGW\bin\gcc.exe] 75 | ignore line: [COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe] 76 | ignore line: [Target: mingw32] 77 | ignore line: [Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --target=mingw32 --with-gmp=/mingw --with-mpfr --with-mpc=/mingw --with-isl=/mingw --prefix=/mingw --disable-win32-registry --with-arch=i586 --with-tune=generic --enable-languages=c,c++,objc,obj-c++,fortran,ada --with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw --with-libintl-prefix=/mingw --enable-libstdcxx-debug --enable-libgomp --disable-libvtv --enable-nls] 78 | ignore line: [Thread model: win32] 79 | ignore line: [gcc version 6.3.0 (MinGW.org GCC-6.3.0-1) ] 80 | ignore line: [COMPILER_PATH=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/] 81 | ignore line: [c:/mingw/bin/../libexec/gcc/] 82 | ignore line: [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/] 83 | ignore line: [LIBRARY_PATH=c:/mingw/bin/../lib/gcc/mingw32/6.3.0/] 84 | ignore line: [c:/mingw/bin/../lib/gcc/] 85 | ignore line: [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib/] 86 | ignore line: [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../] 87 | ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8d02a.exe' '-mtune=generic' '-march=i586'] 88 | link line: [ c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/collect2.exe -plugin c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/liblto_plugin-0.dll -plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Akshay\AppData\Local\Temp\ccC27Ojk.res -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lmingw32 -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_eh -plugin-opt=-pass-through=-lmoldname -plugin-opt=-pass-through=-lmingwex -plugin-opt=-pass-through=-lmsvcrt -Bdynamic -o cmTC_8d02a.exe c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtbegin.o -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0 -Lc:/mingw/bin/../lib/gcc -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib -Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../.. --whole-archive CMakeFiles\cmTC_8d02a.dir/objects.a --no-whole-archive --out-implib libcmTC_8d02a.dll.a --major-image-version 0 --minor-image-version 0 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc -lgcc_eh -lmoldname -lmingwex -lmsvcrt c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o] 89 | arg [c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/collect2.exe] ==> ignore 90 | arg [-plugin] ==> ignore 91 | arg [c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/liblto_plugin-0.dll] ==> ignore 92 | arg [-plugin-opt=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe] ==> ignore 93 | arg [-plugin-opt=-fresolution=C:\Users\Akshay\AppData\Local\Temp\ccC27Ojk.res] ==> ignore 94 | arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore 95 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore 96 | arg [-plugin-opt=-pass-through=-lgcc_eh] ==> ignore 97 | arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore 98 | arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore 99 | arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore 100 | arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore 101 | arg [-plugin-opt=-pass-through=-lshell32] ==> ignore 102 | arg [-plugin-opt=-pass-through=-luser32] ==> ignore 103 | arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore 104 | arg [-plugin-opt=-pass-through=-lmingw32] ==> ignore 105 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore 106 | arg [-plugin-opt=-pass-through=-lgcc_eh] ==> ignore 107 | arg [-plugin-opt=-pass-through=-lmoldname] ==> ignore 108 | arg [-plugin-opt=-pass-through=-lmingwex] ==> ignore 109 | arg [-plugin-opt=-pass-through=-lmsvcrt] ==> ignore 110 | arg [-Bdynamic] ==> ignore 111 | arg [-o] ==> ignore 112 | arg [cmTC_8d02a.exe] ==> ignore 113 | arg [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../crt2.o] ==> ignore 114 | arg [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtbegin.o] ==> ignore 115 | arg [-Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0] ==> dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0] 116 | arg [-Lc:/mingw/bin/../lib/gcc] ==> dir [c:/mingw/bin/../lib/gcc] 117 | arg [-Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib] ==> dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib] 118 | arg [-Lc:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../..] ==> dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../..] 119 | arg [--whole-archive] ==> ignore 120 | arg [CMakeFiles\cmTC_8d02a.dir/objects.a] ==> ignore 121 | arg [--no-whole-archive] ==> ignore 122 | arg [--out-implib] ==> ignore 123 | arg [libcmTC_8d02a.dll.a] ==> ignore 124 | arg [--major-image-version] ==> ignore 125 | arg [0] ==> ignore 126 | arg [--minor-image-version] ==> ignore 127 | arg [0] ==> ignore 128 | arg [-lmingw32] ==> lib [mingw32] 129 | arg [-lgcc] ==> lib [gcc] 130 | arg [-lgcc_eh] ==> lib [gcc_eh] 131 | arg [-lmoldname] ==> lib [moldname] 132 | arg [-lmingwex] ==> lib [mingwex] 133 | arg [-lmsvcrt] ==> lib [msvcrt] 134 | arg [-ladvapi32] ==> lib [advapi32] 135 | arg [-lshell32] ==> lib [shell32] 136 | arg [-luser32] ==> lib [user32] 137 | arg [-lkernel32] ==> lib [kernel32] 138 | arg [-lmingw32] ==> lib [mingw32] 139 | arg [-lgcc] ==> lib [gcc] 140 | arg [-lgcc_eh] ==> lib [gcc_eh] 141 | arg [-lmoldname] ==> lib [moldname] 142 | arg [-lmingwex] ==> lib [mingwex] 143 | arg [-lmsvcrt] ==> lib [msvcrt] 144 | arg [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/crtend.o] ==> ignore 145 | remove lib [gcc_eh] 146 | remove lib [msvcrt] 147 | remove lib [gcc_eh] 148 | remove lib [msvcrt] 149 | collapse library dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0] ==> [C:/MinGW/lib/gcc/mingw32/6.3.0] 150 | collapse library dir [c:/mingw/bin/../lib/gcc] ==> [C:/MinGW/lib/gcc] 151 | collapse library dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/lib] ==> [C:/MinGW/mingw32/lib] 152 | collapse library dir [c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../..] ==> [C:/MinGW/lib] 153 | implicit libs: [mingw32;gcc;moldname;mingwex;advapi32;shell32;user32;kernel32;mingw32;gcc;moldname;mingwex] 154 | implicit dirs: [C:/MinGW/lib/gcc/mingw32/6.3.0;C:/MinGW/lib/gcc;C:/MinGW/mingw32/lib;C:/MinGW/lib] 155 | implicit fwks: [] 156 | 157 | 158 | 159 | 160 | Detecting C [-std=c11] compiler features compiled with the following output: 161 | Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp 162 | 163 | Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_62031/fast" 164 | C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_62031.dir\build.make CMakeFiles/cmTC_62031.dir/build 165 | mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 166 | Building C object CMakeFiles/cmTC_62031.dir/feature_tests.c.obj 167 | C:\MinGW\bin\gcc.exe -std=c11 -o CMakeFiles\cmTC_62031.dir\feature_tests.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\feature_tests.c 168 | Linking C executable cmTC_62031.exe 169 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_62031.dir\link.txt --verbose=1 170 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_62031.dir/objects.a 171 | C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_62031.dir/objects.a @CMakeFiles\cmTC_62031.dir\objects1.rsp 172 | C:\MinGW\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_62031.dir/objects.a -Wl,--no-whole-archive -o cmTC_62031.exe -Wl,--out-implib,libcmTC_62031.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_62031.dir\linklibs.rsp 173 | mingw32-make.exe[1]: Leaving directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 174 | 175 | 176 | Feature record: C_FEATURE:1c_function_prototypes 177 | Feature record: C_FEATURE:1c_restrict 178 | Feature record: C_FEATURE:1c_static_assert 179 | Feature record: C_FEATURE:1c_variadic_macros 180 | 181 | 182 | Detecting C [-std=c99] compiler features compiled with the following output: 183 | Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp 184 | 185 | Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_57519/fast" 186 | C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_57519.dir\build.make CMakeFiles/cmTC_57519.dir/build 187 | mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 188 | Building C object CMakeFiles/cmTC_57519.dir/feature_tests.c.obj 189 | C:\MinGW\bin\gcc.exe -std=c99 -o CMakeFiles\cmTC_57519.dir\feature_tests.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\feature_tests.c 190 | Linking C executable cmTC_57519.exe 191 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_57519.dir\link.txt --verbose=1 192 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_57519.dir/objects.a 193 | C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_57519.dir/objects.a @CMakeFiles\cmTC_57519.dir\objects1.rsp 194 | C:\MinGW\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_57519.dir/objects.a -Wl,--no-whole-archive -o cmTC_57519.exe -Wl,--out-implib,libcmTC_57519.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_57519.dir\linklibs.rsp 195 | mingw32-make.exe[1]: Leaving directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 196 | 197 | 198 | Feature record: C_FEATURE:1c_function_prototypes 199 | Feature record: C_FEATURE:1c_restrict 200 | Feature record: C_FEATURE:0c_static_assert 201 | Feature record: C_FEATURE:1c_variadic_macros 202 | 203 | 204 | Detecting C [-std=c90] compiler features compiled with the following output: 205 | Change Dir: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp 206 | 207 | Run Build Command:"C:/MinGW/bin/mingw32-make.exe" "cmTC_06ec4/fast" 208 | C:/MinGW/bin/mingw32-make.exe -f CMakeFiles\cmTC_06ec4.dir\build.make CMakeFiles/cmTC_06ec4.dir/build 209 | mingw32-make.exe[1]: Entering directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 210 | Building C object CMakeFiles/cmTC_06ec4.dir/feature_tests.c.obj 211 | C:\MinGW\bin\gcc.exe -std=c90 -o CMakeFiles\cmTC_06ec4.dir\feature_tests.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\feature_tests.c 212 | Linking C executable cmTC_06ec4.exe 213 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E cmake_link_script CMakeFiles\cmTC_06ec4.dir\link.txt --verbose=1 214 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\cmTC_06ec4.dir/objects.a 215 | C:\MinGW\bin\ar.exe cr CMakeFiles\cmTC_06ec4.dir/objects.a @CMakeFiles\cmTC_06ec4.dir\objects1.rsp 216 | C:\MinGW\bin\gcc.exe -Wl,--whole-archive CMakeFiles\cmTC_06ec4.dir/objects.a -Wl,--no-whole-archive -o cmTC_06ec4.exe -Wl,--out-implib,libcmTC_06ec4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\cmTC_06ec4.dir\linklibs.rsp 217 | mingw32-make.exe[1]: Leaving directory 'C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/CMakeTmp' 218 | 219 | 220 | Feature record: C_FEATURE:1c_function_prototypes 221 | Feature record: C_FEATURE:0c_restrict 222 | Feature record: C_FEATURE:0c_static_assert 223 | Feature record: C_FEATURE:0c_variadic_macros 224 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/C.includecache: -------------------------------------------------------------------------------- 1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) 2 | 3 | #IncludeRegexScan: ^.*$ 4 | 5 | #IncludeRegexComplain: ^$ 6 | 7 | #IncludeRegexTransform: 8 | 9 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 10 | 11 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.h 12 | 13 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 14 | 15 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.c 16 | stdio.h 17 | - 18 | stdlib.h 19 | - 20 | liststructures.h 21 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.h 22 | arraylist.h 23 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 24 | linkedlist.h 25 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 26 | helpers.h 27 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.h 28 | main.h 29 | C:/Users/Akshay/CLionProjects/DSAonC/main.h 30 | sortnsearch.h 31 | C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.h 32 | 33 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.h 34 | 35 | C:/Users/Akshay/CLionProjects/DSAonC/main.h 36 | 37 | C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.h 38 | arraylist.h 39 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 40 | 41 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/DependInfo.cmake: -------------------------------------------------------------------------------- 1 | # The set of languages for which implicit dependencies are needed: 2 | set(CMAKE_DEPENDS_LANGUAGES 3 | "C" 4 | ) 5 | # The set of files for implicit dependencies of each language: 6 | set(CMAKE_DEPENDS_CHECK_C 7 | "C:/Users/Akshay/CLionProjects/DSAonC/arraylist.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/arraylist.c.obj" 8 | "C:/Users/Akshay/CLionProjects/DSAonC/avl_bst.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/avl_bst.c.obj" 9 | "C:/Users/Akshay/CLionProjects/DSAonC/bst.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/bst.c.obj" 10 | "C:/Users/Akshay/CLionProjects/DSAonC/btree.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/btree.c.obj" 11 | "C:/Users/Akshay/CLionProjects/DSAonC/graph.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph.c.obj" 12 | "C:/Users/Akshay/CLionProjects/DSAonC/graph2.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph2.c.obj" 13 | "C:/Users/Akshay/CLionProjects/DSAonC/heap.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/heap.c.obj" 14 | "C:/Users/Akshay/CLionProjects/DSAonC/helpers.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/helpers.c.obj" 15 | "C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/linkedlist.c.obj" 16 | "C:/Users/Akshay/CLionProjects/DSAonC/liststructures.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/liststructures.c.obj" 17 | "C:/Users/Akshay/CLionProjects/DSAonC/main.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/main.c.obj" 18 | "C:/Users/Akshay/CLionProjects/DSAonC/main_tree.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/main_tree.c.obj" 19 | "C:/Users/Akshay/CLionProjects/DSAonC/queue_ll.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/queue_ll.c.obj" 20 | "C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj" 21 | "C:/Users/Akshay/CLionProjects/DSAonC/stackQueue.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/stackQueue.c.obj" 22 | "C:/Users/Akshay/CLionProjects/DSAonC/stack_al.c" "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir/stack_al.c.obj" 23 | ) 24 | set(CMAKE_C_COMPILER_ID "GNU") 25 | 26 | # The include file search paths: 27 | set(CMAKE_C_TARGET_INCLUDE_PATH 28 | "/usr/local/lib" 29 | ) 30 | 31 | # Targets to which this target links. 32 | set(CMAKE_TARGET_LINKED_INFO_FILES 33 | ) 34 | 35 | # Fortran module output directory. 36 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") 37 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/arraylist.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/arraylist.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/arraylist.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/arraylist.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/avl_bst.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/bst.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/bst.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/btree.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/btree.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/build.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 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 | SHELL = cmd.exe 34 | 35 | # The CMake executable. 36 | CMAKE_COMMAND = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" 37 | 38 | # The command to remove a file. 39 | RM = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f 40 | 41 | # Escaping for special characters. 42 | EQUALS = = 43 | 44 | # The top-level source directory on which CMake was run. 45 | CMAKE_SOURCE_DIR = C:\Users\Akshay\CLionProjects\DSAonC 46 | 47 | # The top-level build directory on which CMake was run. 48 | CMAKE_BINARY_DIR = C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug 49 | 50 | # Include any dependencies generated for this target. 51 | include CMakeFiles/DSAImplementation.dir/depend.make 52 | 53 | # Include the progress variables for this target. 54 | include CMakeFiles/DSAImplementation.dir/progress.make 55 | 56 | # Include the compile flags for this target's objects. 57 | include CMakeFiles/DSAImplementation.dir/flags.make 58 | 59 | CMakeFiles/DSAImplementation.dir/main.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 60 | CMakeFiles/DSAImplementation.dir/main.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 61 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../main.c 62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/DSAImplementation.dir/main.c.obj" 63 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\main.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\main.c 64 | 65 | CMakeFiles/DSAImplementation.dir/main.c.i: cmake_force 66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/main.c.i" 67 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\main.c > CMakeFiles\DSAImplementation.dir\main.c.i 68 | 69 | CMakeFiles/DSAImplementation.dir/main.c.s: cmake_force 70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/main.c.s" 71 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\main.c -o CMakeFiles\DSAImplementation.dir\main.c.s 72 | 73 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 74 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 75 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj: ../arraylist.c 76 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/DSAImplementation.dir/arraylist.c.obj" 77 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\arraylist.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\arraylist.c 78 | 79 | CMakeFiles/DSAImplementation.dir/arraylist.c.i: cmake_force 80 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/arraylist.c.i" 81 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\arraylist.c > CMakeFiles\DSAImplementation.dir\arraylist.c.i 82 | 83 | CMakeFiles/DSAImplementation.dir/arraylist.c.s: cmake_force 84 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/arraylist.c.s" 85 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\arraylist.c -o CMakeFiles\DSAImplementation.dir\arraylist.c.s 86 | 87 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 88 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 89 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../liststructures.c 90 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object CMakeFiles/DSAImplementation.dir/liststructures.c.obj" 91 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\liststructures.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\liststructures.c 92 | 93 | CMakeFiles/DSAImplementation.dir/liststructures.c.i: cmake_force 94 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/liststructures.c.i" 95 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\liststructures.c > CMakeFiles\DSAImplementation.dir\liststructures.c.i 96 | 97 | CMakeFiles/DSAImplementation.dir/liststructures.c.s: cmake_force 98 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/liststructures.c.s" 99 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\liststructures.c -o CMakeFiles\DSAImplementation.dir\liststructures.c.s 100 | 101 | CMakeFiles/DSAImplementation.dir/helpers.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 102 | CMakeFiles/DSAImplementation.dir/helpers.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 103 | CMakeFiles/DSAImplementation.dir/helpers.c.obj: ../helpers.c 104 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/DSAImplementation.dir/helpers.c.obj" 105 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\helpers.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\helpers.c 106 | 107 | CMakeFiles/DSAImplementation.dir/helpers.c.i: cmake_force 108 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/helpers.c.i" 109 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\helpers.c > CMakeFiles\DSAImplementation.dir\helpers.c.i 110 | 111 | CMakeFiles/DSAImplementation.dir/helpers.c.s: cmake_force 112 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/helpers.c.s" 113 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\helpers.c -o CMakeFiles\DSAImplementation.dir\helpers.c.s 114 | 115 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 116 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 117 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: ../linkedlist.c 118 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/DSAImplementation.dir/linkedlist.c.obj" 119 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\linkedlist.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\linkedlist.c 120 | 121 | CMakeFiles/DSAImplementation.dir/linkedlist.c.i: cmake_force 122 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/linkedlist.c.i" 123 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\linkedlist.c > CMakeFiles\DSAImplementation.dir\linkedlist.c.i 124 | 125 | CMakeFiles/DSAImplementation.dir/linkedlist.c.s: cmake_force 126 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/linkedlist.c.s" 127 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\linkedlist.c -o CMakeFiles\DSAImplementation.dir\linkedlist.c.s 128 | 129 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 130 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 131 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: ../sortnsearch.c 132 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building C object CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj" 133 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\sortnsearch.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\sortnsearch.c 134 | 135 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.i: cmake_force 136 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/sortnsearch.c.i" 137 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\sortnsearch.c > CMakeFiles\DSAImplementation.dir\sortnsearch.c.i 138 | 139 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.s: cmake_force 140 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/sortnsearch.c.s" 141 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\sortnsearch.c -o CMakeFiles\DSAImplementation.dir\sortnsearch.c.s 142 | 143 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 144 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 145 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: ../stack_al.c 146 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building C object CMakeFiles/DSAImplementation.dir/stack_al.c.obj" 147 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\stack_al.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\stack_al.c 148 | 149 | CMakeFiles/DSAImplementation.dir/stack_al.c.i: cmake_force 150 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/stack_al.c.i" 151 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\stack_al.c > CMakeFiles\DSAImplementation.dir\stack_al.c.i 152 | 153 | CMakeFiles/DSAImplementation.dir/stack_al.c.s: cmake_force 154 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/stack_al.c.s" 155 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\stack_al.c -o CMakeFiles\DSAImplementation.dir\stack_al.c.s 156 | 157 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 158 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 159 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../stackQueue.c 160 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building C object CMakeFiles/DSAImplementation.dir/stackQueue.c.obj" 161 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\stackQueue.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\stackQueue.c 162 | 163 | CMakeFiles/DSAImplementation.dir/stackQueue.c.i: cmake_force 164 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/stackQueue.c.i" 165 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\stackQueue.c > CMakeFiles\DSAImplementation.dir\stackQueue.c.i 166 | 167 | CMakeFiles/DSAImplementation.dir/stackQueue.c.s: cmake_force 168 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/stackQueue.c.s" 169 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\stackQueue.c -o CMakeFiles\DSAImplementation.dir\stackQueue.c.s 170 | 171 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 172 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 173 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: ../queue_ll.c 174 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building C object CMakeFiles/DSAImplementation.dir/queue_ll.c.obj" 175 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\queue_ll.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\queue_ll.c 176 | 177 | CMakeFiles/DSAImplementation.dir/queue_ll.c.i: cmake_force 178 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/queue_ll.c.i" 179 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\queue_ll.c > CMakeFiles\DSAImplementation.dir\queue_ll.c.i 180 | 181 | CMakeFiles/DSAImplementation.dir/queue_ll.c.s: cmake_force 182 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/queue_ll.c.s" 183 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\queue_ll.c -o CMakeFiles\DSAImplementation.dir\queue_ll.c.s 184 | 185 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 186 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 187 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: ../avl_bst.c 188 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building C object CMakeFiles/DSAImplementation.dir/avl_bst.c.obj" 189 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\avl_bst.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\avl_bst.c 190 | 191 | CMakeFiles/DSAImplementation.dir/avl_bst.c.i: cmake_force 192 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/avl_bst.c.i" 193 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\avl_bst.c > CMakeFiles\DSAImplementation.dir\avl_bst.c.i 194 | 195 | CMakeFiles/DSAImplementation.dir/avl_bst.c.s: cmake_force 196 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/avl_bst.c.s" 197 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\avl_bst.c -o CMakeFiles\DSAImplementation.dir\avl_bst.c.s 198 | 199 | CMakeFiles/DSAImplementation.dir/bst.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 200 | CMakeFiles/DSAImplementation.dir/bst.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 201 | CMakeFiles/DSAImplementation.dir/bst.c.obj: ../bst.c 202 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building C object CMakeFiles/DSAImplementation.dir/bst.c.obj" 203 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\bst.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\bst.c 204 | 205 | CMakeFiles/DSAImplementation.dir/bst.c.i: cmake_force 206 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/bst.c.i" 207 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\bst.c > CMakeFiles\DSAImplementation.dir\bst.c.i 208 | 209 | CMakeFiles/DSAImplementation.dir/bst.c.s: cmake_force 210 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/bst.c.s" 211 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\bst.c -o CMakeFiles\DSAImplementation.dir\bst.c.s 212 | 213 | CMakeFiles/DSAImplementation.dir/btree.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 214 | CMakeFiles/DSAImplementation.dir/btree.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 215 | CMakeFiles/DSAImplementation.dir/btree.c.obj: ../btree.c 216 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building C object CMakeFiles/DSAImplementation.dir/btree.c.obj" 217 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\btree.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\btree.c 218 | 219 | CMakeFiles/DSAImplementation.dir/btree.c.i: cmake_force 220 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/btree.c.i" 221 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\btree.c > CMakeFiles\DSAImplementation.dir\btree.c.i 222 | 223 | CMakeFiles/DSAImplementation.dir/btree.c.s: cmake_force 224 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/btree.c.s" 225 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\btree.c -o CMakeFiles\DSAImplementation.dir\btree.c.s 226 | 227 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 228 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 229 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../main_tree.c 230 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Building C object CMakeFiles/DSAImplementation.dir/main_tree.c.obj" 231 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\main_tree.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\main_tree.c 232 | 233 | CMakeFiles/DSAImplementation.dir/main_tree.c.i: cmake_force 234 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/main_tree.c.i" 235 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\main_tree.c > CMakeFiles\DSAImplementation.dir\main_tree.c.i 236 | 237 | CMakeFiles/DSAImplementation.dir/main_tree.c.s: cmake_force 238 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/main_tree.c.s" 239 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\main_tree.c -o CMakeFiles\DSAImplementation.dir\main_tree.c.s 240 | 241 | CMakeFiles/DSAImplementation.dir/graph.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 242 | CMakeFiles/DSAImplementation.dir/graph.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 243 | CMakeFiles/DSAImplementation.dir/graph.c.obj: ../graph.c 244 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Building C object CMakeFiles/DSAImplementation.dir/graph.c.obj" 245 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\graph.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\graph.c 246 | 247 | CMakeFiles/DSAImplementation.dir/graph.c.i: cmake_force 248 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/graph.c.i" 249 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\graph.c > CMakeFiles\DSAImplementation.dir\graph.c.i 250 | 251 | CMakeFiles/DSAImplementation.dir/graph.c.s: cmake_force 252 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/graph.c.s" 253 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\graph.c -o CMakeFiles\DSAImplementation.dir\graph.c.s 254 | 255 | CMakeFiles/DSAImplementation.dir/graph2.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 256 | CMakeFiles/DSAImplementation.dir/graph2.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 257 | CMakeFiles/DSAImplementation.dir/graph2.c.obj: ../graph2.c 258 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Building C object CMakeFiles/DSAImplementation.dir/graph2.c.obj" 259 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\graph2.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\graph2.c 260 | 261 | CMakeFiles/DSAImplementation.dir/graph2.c.i: cmake_force 262 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/graph2.c.i" 263 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\graph2.c > CMakeFiles\DSAImplementation.dir\graph2.c.i 264 | 265 | CMakeFiles/DSAImplementation.dir/graph2.c.s: cmake_force 266 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/graph2.c.s" 267 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\graph2.c -o CMakeFiles\DSAImplementation.dir\graph2.c.s 268 | 269 | CMakeFiles/DSAImplementation.dir/heap.c.obj: CMakeFiles/DSAImplementation.dir/flags.make 270 | CMakeFiles/DSAImplementation.dir/heap.c.obj: CMakeFiles/DSAImplementation.dir/includes_C.rsp 271 | CMakeFiles/DSAImplementation.dir/heap.c.obj: ../heap.c 272 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Building C object CMakeFiles/DSAImplementation.dir/heap.c.obj" 273 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles\DSAImplementation.dir\heap.c.obj -c C:\Users\Akshay\CLionProjects\DSAonC\heap.c 274 | 275 | CMakeFiles/DSAImplementation.dir/heap.c.i: cmake_force 276 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/DSAImplementation.dir/heap.c.i" 277 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E C:\Users\Akshay\CLionProjects\DSAonC\heap.c > CMakeFiles\DSAImplementation.dir\heap.c.i 278 | 279 | CMakeFiles/DSAImplementation.dir/heap.c.s: cmake_force 280 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/DSAImplementation.dir/heap.c.s" 281 | C:\MinGW\bin\gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S C:\Users\Akshay\CLionProjects\DSAonC\heap.c -o CMakeFiles\DSAImplementation.dir\heap.c.s 282 | 283 | # Object files for target DSAImplementation 284 | DSAImplementation_OBJECTS = \ 285 | "CMakeFiles/DSAImplementation.dir/main.c.obj" \ 286 | "CMakeFiles/DSAImplementation.dir/arraylist.c.obj" \ 287 | "CMakeFiles/DSAImplementation.dir/liststructures.c.obj" \ 288 | "CMakeFiles/DSAImplementation.dir/helpers.c.obj" \ 289 | "CMakeFiles/DSAImplementation.dir/linkedlist.c.obj" \ 290 | "CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj" \ 291 | "CMakeFiles/DSAImplementation.dir/stack_al.c.obj" \ 292 | "CMakeFiles/DSAImplementation.dir/stackQueue.c.obj" \ 293 | "CMakeFiles/DSAImplementation.dir/queue_ll.c.obj" \ 294 | "CMakeFiles/DSAImplementation.dir/avl_bst.c.obj" \ 295 | "CMakeFiles/DSAImplementation.dir/bst.c.obj" \ 296 | "CMakeFiles/DSAImplementation.dir/btree.c.obj" \ 297 | "CMakeFiles/DSAImplementation.dir/main_tree.c.obj" \ 298 | "CMakeFiles/DSAImplementation.dir/graph.c.obj" \ 299 | "CMakeFiles/DSAImplementation.dir/graph2.c.obj" \ 300 | "CMakeFiles/DSAImplementation.dir/heap.c.obj" 301 | 302 | # External object files for target DSAImplementation 303 | DSAImplementation_EXTERNAL_OBJECTS = 304 | 305 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/main.c.obj 306 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/arraylist.c.obj 307 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/liststructures.c.obj 308 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/helpers.c.obj 309 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/linkedlist.c.obj 310 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj 311 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/stack_al.c.obj 312 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/stackQueue.c.obj 313 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/queue_ll.c.obj 314 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/avl_bst.c.obj 315 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/bst.c.obj 316 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/btree.c.obj 317 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/main_tree.c.obj 318 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/graph.c.obj 319 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/graph2.c.obj 320 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/heap.c.obj 321 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/build.make 322 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/linklibs.rsp 323 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/objects1.rsp 324 | DSAImplementation.exe: CMakeFiles/DSAImplementation.dir/link.txt 325 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Linking C executable DSAImplementation.exe" 326 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles\DSAImplementation.dir\link.txt --verbose=$(VERBOSE) 327 | 328 | # Rule to build all files generated by this target. 329 | CMakeFiles/DSAImplementation.dir/build: DSAImplementation.exe 330 | 331 | .PHONY : CMakeFiles/DSAImplementation.dir/build 332 | 333 | CMakeFiles/DSAImplementation.dir/clean: 334 | $(CMAKE_COMMAND) -P CMakeFiles\DSAImplementation.dir\cmake_clean.cmake 335 | .PHONY : CMakeFiles/DSAImplementation.dir/clean 336 | 337 | CMakeFiles/DSAImplementation.dir/depend: 338 | $(CMAKE_COMMAND) -E cmake_depends "MinGW Makefiles" C:\Users\Akshay\CLionProjects\DSAonC C:\Users\Akshay\CLionProjects\DSAonC C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\DSAImplementation.dir\DependInfo.cmake --color=$(COLOR) 339 | .PHONY : CMakeFiles/DSAImplementation.dir/depend 340 | 341 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "CMakeFiles/DSAImplementation.dir/main.c.obj" 3 | "CMakeFiles/DSAImplementation.dir/arraylist.c.obj" 4 | "CMakeFiles/DSAImplementation.dir/liststructures.c.obj" 5 | "CMakeFiles/DSAImplementation.dir/helpers.c.obj" 6 | "CMakeFiles/DSAImplementation.dir/linkedlist.c.obj" 7 | "CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj" 8 | "CMakeFiles/DSAImplementation.dir/stack_al.c.obj" 9 | "CMakeFiles/DSAImplementation.dir/stackQueue.c.obj" 10 | "CMakeFiles/DSAImplementation.dir/queue_ll.c.obj" 11 | "CMakeFiles/DSAImplementation.dir/avl_bst.c.obj" 12 | "CMakeFiles/DSAImplementation.dir/bst.c.obj" 13 | "CMakeFiles/DSAImplementation.dir/btree.c.obj" 14 | "CMakeFiles/DSAImplementation.dir/main_tree.c.obj" 15 | "CMakeFiles/DSAImplementation.dir/graph.c.obj" 16 | "CMakeFiles/DSAImplementation.dir/graph2.c.obj" 17 | "CMakeFiles/DSAImplementation.dir/heap.c.obj" 18 | "DSAImplementation.pdb" 19 | "DSAImplementation.exe" 20 | "DSAImplementation.exe.manifest" 21 | "libDSAImplementation.dll.a" 22 | ) 23 | 24 | # Per-language clean rules from dependency scanning. 25 | foreach(lang C) 26 | include(CMakeFiles/DSAImplementation.dir/cmake_clean_${lang}.cmake OPTIONAL) 27 | endforeach() 28 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/depend.internal: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj 5 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.c 6 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 7 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj 8 | C:/Users/Akshay/CLionProjects/DSAonC/avl_bst.c 9 | C:/Users/Akshay/CLionProjects/DSAonC/avl_bst.h 10 | C:/Users/Akshay/CLionProjects/DSAonC/bst.h 11 | C:/Users/Akshay/CLionProjects/DSAonC/btree.h 12 | CMakeFiles/DSAImplementation.dir/bst.c.obj 13 | C:/Users/Akshay/CLionProjects/DSAonC/bst.c 14 | C:/Users/Akshay/CLionProjects/DSAonC/bst.h 15 | C:/Users/Akshay/CLionProjects/DSAonC/btree.h 16 | CMakeFiles/DSAImplementation.dir/btree.c.obj 17 | C:/Users/Akshay/CLionProjects/DSAonC/btree.c 18 | C:/Users/Akshay/CLionProjects/DSAonC/btree.h 19 | CMakeFiles/DSAImplementation.dir/graph.c.obj 20 | C:/Users/Akshay/CLionProjects/DSAonC/graph.c 21 | C:/Users/Akshay/CLionProjects/DSAonC/graph.h 22 | CMakeFiles/DSAImplementation.dir/graph2.c.obj 23 | C:/Users/Akshay/CLionProjects/DSAonC/graph2.c 24 | C:/Users/Akshay/CLionProjects/DSAonC/graph2.h 25 | CMakeFiles/DSAImplementation.dir/heap.c.obj 26 | C:/Users/Akshay/CLionProjects/DSAonC/heap.c 27 | C:/Users/Akshay/CLionProjects/DSAonC/heap.h 28 | CMakeFiles/DSAImplementation.dir/helpers.c.obj 29 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.c 30 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.h 31 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj 32 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.c 33 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 34 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj 35 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 36 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.h 37 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 38 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.c 39 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.h 40 | C:/Users/Akshay/CLionProjects/DSAonC/main.h 41 | C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.h 42 | CMakeFiles/DSAImplementation.dir/main.c.obj 43 | C:/Users/Akshay/CLionProjects/DSAonC/graph.h 44 | C:/Users/Akshay/CLionProjects/DSAonC/graph2.h 45 | C:/Users/Akshay/CLionProjects/DSAonC/heap.h 46 | C:/Users/Akshay/CLionProjects/DSAonC/liststructures.h 47 | C:/Users/Akshay/CLionProjects/DSAonC/main.c 48 | C:/Users/Akshay/CLionProjects/DSAonC/main_tree.h 49 | C:/Users/Akshay/CLionProjects/DSAonC/stackQueue.h 50 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj 51 | C:/Users/Akshay/CLionProjects/DSAonC/avl_bst.h 52 | C:/Users/Akshay/CLionProjects/DSAonC/bst.h 53 | C:/Users/Akshay/CLionProjects/DSAonC/btree.h 54 | C:/Users/Akshay/CLionProjects/DSAonC/helpers.h 55 | C:/Users/Akshay/CLionProjects/DSAonC/main_tree.c 56 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj 57 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 58 | C:/Users/Akshay/CLionProjects/DSAonC/queue_ll.c 59 | C:/Users/Akshay/CLionProjects/DSAonC/queue_ll.h 60 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj 61 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 62 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 63 | C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.c 64 | C:/Users/Akshay/CLionProjects/DSAonC/sortnsearch.h 65 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj 66 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 67 | C:/Users/Akshay/CLionProjects/DSAonC/linkedlist.h 68 | C:/Users/Akshay/CLionProjects/DSAonC/main.h 69 | C:/Users/Akshay/CLionProjects/DSAonC/queue_ll.h 70 | C:/Users/Akshay/CLionProjects/DSAonC/stackQueue.c 71 | C:/Users/Akshay/CLionProjects/DSAonC/stackQueue.h 72 | C:/Users/Akshay/CLionProjects/DSAonC/stack_al.h 73 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj 74 | C:/Users/Akshay/CLionProjects/DSAonC/arraylist.h 75 | C:/Users/Akshay/CLionProjects/DSAonC/stack_al.c 76 | C:/Users/Akshay/CLionProjects/DSAonC/stack_al.h 77 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/depend.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj: ../arraylist.c 5 | CMakeFiles/DSAImplementation.dir/arraylist.c.obj: ../arraylist.h 6 | 7 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: ../avl_bst.c 8 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: ../avl_bst.h 9 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: ../bst.h 10 | CMakeFiles/DSAImplementation.dir/avl_bst.c.obj: ../btree.h 11 | 12 | CMakeFiles/DSAImplementation.dir/bst.c.obj: ../bst.c 13 | CMakeFiles/DSAImplementation.dir/bst.c.obj: ../bst.h 14 | CMakeFiles/DSAImplementation.dir/bst.c.obj: ../btree.h 15 | 16 | CMakeFiles/DSAImplementation.dir/btree.c.obj: ../btree.c 17 | CMakeFiles/DSAImplementation.dir/btree.c.obj: ../btree.h 18 | 19 | CMakeFiles/DSAImplementation.dir/graph.c.obj: ../graph.c 20 | CMakeFiles/DSAImplementation.dir/graph.c.obj: ../graph.h 21 | 22 | CMakeFiles/DSAImplementation.dir/graph2.c.obj: ../graph2.c 23 | CMakeFiles/DSAImplementation.dir/graph2.c.obj: ../graph2.h 24 | 25 | CMakeFiles/DSAImplementation.dir/heap.c.obj: ../heap.c 26 | CMakeFiles/DSAImplementation.dir/heap.c.obj: ../heap.h 27 | 28 | CMakeFiles/DSAImplementation.dir/helpers.c.obj: ../helpers.c 29 | CMakeFiles/DSAImplementation.dir/helpers.c.obj: ../helpers.h 30 | 31 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: ../linkedlist.c 32 | CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: ../linkedlist.h 33 | 34 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../arraylist.h 35 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../helpers.h 36 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../linkedlist.h 37 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../liststructures.c 38 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../liststructures.h 39 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../main.h 40 | CMakeFiles/DSAImplementation.dir/liststructures.c.obj: ../sortnsearch.h 41 | 42 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../graph.h 43 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../graph2.h 44 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../heap.h 45 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../liststructures.h 46 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../main.c 47 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../main_tree.h 48 | CMakeFiles/DSAImplementation.dir/main.c.obj: ../stackQueue.h 49 | 50 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../avl_bst.h 51 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../bst.h 52 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../btree.h 53 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../helpers.h 54 | CMakeFiles/DSAImplementation.dir/main_tree.c.obj: ../main_tree.c 55 | 56 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: ../linkedlist.h 57 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: ../queue_ll.c 58 | CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: ../queue_ll.h 59 | 60 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: ../arraylist.h 61 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: ../linkedlist.h 62 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: ../sortnsearch.c 63 | CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: ../sortnsearch.h 64 | 65 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../arraylist.h 66 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../linkedlist.h 67 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../main.h 68 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../queue_ll.h 69 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../stackQueue.c 70 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../stackQueue.h 71 | CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: ../stack_al.h 72 | 73 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: ../arraylist.h 74 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: ../stack_al.c 75 | CMakeFiles/DSAImplementation.dir/stack_al.c.obj: ../stack_al.h 76 | 77 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | # compile C with C:/MinGW/bin/gcc.exe 5 | C_FLAGS = -g -std=gnu11 6 | 7 | C_DEFINES = 8 | 9 | C_INCLUDES = @CMakeFiles/DSAImplementation.dir/includes_C.rsp 10 | 11 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph2.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/graph2.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/heap.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/heap.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/helpers.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/helpers.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/helpers.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/helpers.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/includes_C.rsp: -------------------------------------------------------------------------------- 1 | -I/usr/local/lib 2 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/link.txt: -------------------------------------------------------------------------------- 1 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f CMakeFiles\DSAImplementation.dir/objects.a 2 | C:\MinGW\bin\ar.exe cr CMakeFiles\DSAImplementation.dir/objects.a @CMakeFiles\DSAImplementation.dir\objects1.rsp 3 | C:\MinGW\bin\gcc.exe -g -Wl,--whole-archive CMakeFiles\DSAImplementation.dir/objects.a -Wl,--no-whole-archive -o DSAImplementation.exe -Wl,--out-implib,libDSAImplementation.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\DSAImplementation.dir\linklibs.rsp 4 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/linkedlist.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/linkedlist.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/linkedlist.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/linkedlist.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/linklibs.rsp: -------------------------------------------------------------------------------- 1 | -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 2 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/liststructures.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/liststructures.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/liststructures.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/liststructures.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/main.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/main.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/main.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/main_tree.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/main_tree.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/objects.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/objects.a -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/objects1.rsp: -------------------------------------------------------------------------------- 1 | CMakeFiles/DSAImplementation.dir/main.c.obj CMakeFiles/DSAImplementation.dir/arraylist.c.obj CMakeFiles/DSAImplementation.dir/liststructures.c.obj CMakeFiles/DSAImplementation.dir/helpers.c.obj CMakeFiles/DSAImplementation.dir/linkedlist.c.obj CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj CMakeFiles/DSAImplementation.dir/stack_al.c.obj CMakeFiles/DSAImplementation.dir/stackQueue.c.obj CMakeFiles/DSAImplementation.dir/queue_ll.c.obj CMakeFiles/DSAImplementation.dir/avl_bst.c.obj CMakeFiles/DSAImplementation.dir/bst.c.obj CMakeFiles/DSAImplementation.dir/btree.c.obj CMakeFiles/DSAImplementation.dir/main_tree.c.obj CMakeFiles/DSAImplementation.dir/graph.c.obj CMakeFiles/DSAImplementation.dir/graph2.c.obj CMakeFiles/DSAImplementation.dir/heap.c.obj 2 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 1 2 | CMAKE_PROGRESS_2 = 2 3 | CMAKE_PROGRESS_3 = 3 4 | CMAKE_PROGRESS_4 = 4 5 | CMAKE_PROGRESS_5 = 5 6 | CMAKE_PROGRESS_6 = 6 7 | CMAKE_PROGRESS_7 = 7 8 | CMAKE_PROGRESS_8 = 8 9 | CMAKE_PROGRESS_9 = 9 10 | CMAKE_PROGRESS_10 = 10 11 | CMAKE_PROGRESS_11 = 11 12 | CMAKE_PROGRESS_12 = 12 13 | CMAKE_PROGRESS_13 = 13 14 | CMAKE_PROGRESS_14 = 14 15 | CMAKE_PROGRESS_15 = 15 16 | CMAKE_PROGRESS_16 = 16 17 | CMAKE_PROGRESS_17 = 17 18 | 19 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/queue_ll.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/queue_ll.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/sortnsearch.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/sortnsearch.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/stackQueue.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/stackQueue.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/stack_al.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/stack_al.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/tree.c.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/tree.c.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/DSAImplementation.dir/tree.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/DSAImplementation.dir/tree.obj -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/Makefile.cmake: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | # The generator used is: 5 | set(CMAKE_DEPENDS_GENERATOR "MinGW Makefiles") 6 | 7 | # The top level Makefile was generated from the following files: 8 | set(CMAKE_MAKEFILE_DEPENDS 9 | "CMakeCache.txt" 10 | "../CMakeLists.txt" 11 | "CMakeFiles/3.12.3/CMakeCCompiler.cmake" 12 | "CMakeFiles/3.12.3/CMakeRCCompiler.cmake" 13 | "CMakeFiles/3.12.3/CMakeSystem.cmake" 14 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeCInformation.cmake" 15 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeCommonLanguageInclude.cmake" 16 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake" 17 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeFindCodeBlocks.cmake" 18 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeGenericSystem.cmake" 19 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeInitializeConfigs.cmake" 20 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeLanguageInformation.cmake" 21 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeRCInformation.cmake" 22 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeSystemSpecificInformation.cmake" 23 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/CMakeSystemSpecificInitialize.cmake" 24 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Compiler/CMakeCommonCompilerMacros.cmake" 25 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Compiler/GNU-C.cmake" 26 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Compiler/GNU.cmake" 27 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-C-ABI.cmake" 28 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU-C.cmake" 29 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-GNU.cmake" 30 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows-windres.cmake" 31 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/Windows.cmake" 32 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/Platform/WindowsPaths.cmake" 33 | "D:/CLion 2018.2.5/bin/cmake/win/share/cmake-3.12/Modules/ProcessorCount.cmake" 34 | ) 35 | 36 | # The corresponding makefile is: 37 | set(CMAKE_MAKEFILE_OUTPUTS 38 | "Makefile" 39 | "CMakeFiles/cmake.check_cache" 40 | ) 41 | 42 | # Byproducts of CMake generate step: 43 | set(CMAKE_MAKEFILE_PRODUCTS 44 | "CMakeFiles/CMakeDirectoryInformation.cmake" 45 | ) 46 | 47 | # Dependency information for all targets: 48 | set(CMAKE_DEPEND_INFO_FILES 49 | "CMakeFiles/DSAImplementation.dir/DependInfo.cmake" 50 | ) 51 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/Makefile2: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 3 | 4 | # Default target executed when no arguments are given to make. 5 | default_target: all 6 | 7 | .PHONY : default_target 8 | 9 | # The main recursive all target 10 | all: 11 | 12 | .PHONY : all 13 | 14 | # The main recursive preinstall target 15 | preinstall: 16 | 17 | .PHONY : preinstall 18 | 19 | # The main recursive clean target 20 | clean: 21 | 22 | .PHONY : clean 23 | 24 | #============================================================================= 25 | # Special targets provided by cmake. 26 | 27 | # Disable implicit rules so canonical targets will work. 28 | .SUFFIXES: 29 | 30 | 31 | # Remove some rules from gmake that .SUFFIXES does not remove. 32 | SUFFIXES = 33 | 34 | .SUFFIXES: .hpux_make_needs_suffix_list 35 | 36 | 37 | # Suppress display of executed commands. 38 | $(VERBOSE).SILENT: 39 | 40 | 41 | # A target that is always out of date. 42 | cmake_force: 43 | 44 | .PHONY : cmake_force 45 | 46 | #============================================================================= 47 | # Set environment variables for the build. 48 | 49 | SHELL = cmd.exe 50 | 51 | # The CMake executable. 52 | CMAKE_COMMAND = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" 53 | 54 | # The command to remove a file. 55 | RM = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f 56 | 57 | # Escaping for special characters. 58 | EQUALS = = 59 | 60 | # The top-level source directory on which CMake was run. 61 | CMAKE_SOURCE_DIR = C:\Users\Akshay\CLionProjects\DSAonC 62 | 63 | # The top-level build directory on which CMake was run. 64 | CMAKE_BINARY_DIR = C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug 65 | 66 | #============================================================================= 67 | # Target rules for target CMakeFiles/DSAImplementation.dir 68 | 69 | # All Build rule for target. 70 | CMakeFiles/DSAImplementation.dir/all: 71 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/depend 72 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/build 73 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17 "Built target DSAImplementation" 74 | .PHONY : CMakeFiles/DSAImplementation.dir/all 75 | 76 | # Include target in all. 77 | all: CMakeFiles/DSAImplementation.dir/all 78 | 79 | .PHONY : all 80 | 81 | # Build rule for subdir invocation for target. 82 | CMakeFiles/DSAImplementation.dir/rule: cmake_check_build_system 83 | $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles 17 84 | $(MAKE) -f CMakeFiles\Makefile2 CMakeFiles/DSAImplementation.dir/all 85 | $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles 0 86 | .PHONY : CMakeFiles/DSAImplementation.dir/rule 87 | 88 | # Convenience name for target. 89 | DSAImplementation: CMakeFiles/DSAImplementation.dir/rule 90 | 91 | .PHONY : DSAImplementation 92 | 93 | # clean rule for target. 94 | CMakeFiles/DSAImplementation.dir/clean: 95 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/clean 96 | .PHONY : CMakeFiles/DSAImplementation.dir/clean 97 | 98 | # clean rule for target. 99 | clean: CMakeFiles/DSAImplementation.dir/clean 100 | 101 | .PHONY : clean 102 | 103 | #============================================================================= 104 | # Special targets to cleanup operation of make. 105 | 106 | # Special rule to run CMake to check the build system integrity. 107 | # No rule that depends on this can have commands that come from listfiles 108 | # because they might be regenerated. 109 | cmake_check_build_system: 110 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0 111 | .PHONY : cmake_check_build_system 112 | 113 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/TargetDirectories.txt: -------------------------------------------------------------------------------- 1 | C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/DSAImplementation.dir 2 | C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/edit_cache.dir 3 | C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/CMakeFiles/rebuild_cache.dir 4 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/clion-environment.txt: -------------------------------------------------------------------------------- 1 | ToolSet: 5.0@C:\MinGW 2 | Options: 3 | 4 | Options: -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/clion-log.txt: -------------------------------------------------------------------------------- 1 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\Akshay\CLionProjects\DSAonC 2 | -- Configuring done 3 | -- Generating done 4 | -- Build files have been written to: C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug 5 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/feature_tests.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/CMakeFiles/feature_tests.bin -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/feature_tests.c: -------------------------------------------------------------------------------- 1 | 2 | const char features[] = {"\n" 3 | "C_FEATURE:" 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 5 | "1" 6 | #else 7 | "0" 8 | #endif 9 | "c_function_prototypes\n" 10 | "C_FEATURE:" 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 12 | "1" 13 | #else 14 | "0" 15 | #endif 16 | "c_restrict\n" 17 | "C_FEATURE:" 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L 19 | "1" 20 | #else 21 | "0" 22 | #endif 23 | "c_static_assert\n" 24 | "C_FEATURE:" 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 26 | "1" 27 | #else 28 | "0" 29 | #endif 30 | "c_variadic_macros\n" 31 | 32 | }; 33 | 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } 35 | -------------------------------------------------------------------------------- /cmake-build-debug/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 17 2 | -------------------------------------------------------------------------------- /cmake-build-debug/DSAImplementation.cbp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 181 | 182 | -------------------------------------------------------------------------------- /cmake-build-debug/DSAImplementation.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akij17/Data-Structures-in-Pure-C/c7ed62d8d1dc86cb1f58e3d7a054c2e3751edd8e/cmake-build-debug/DSAImplementation.exe -------------------------------------------------------------------------------- /cmake-build-debug/Makefile: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "MinGW Makefiles" Generator, CMake Version 3.12 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 | SHELL = cmd.exe 39 | 40 | # The CMake executable. 41 | CMAKE_COMMAND = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" 42 | 43 | # The command to remove a file. 44 | RM = "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E remove -f 45 | 46 | # Escaping for special characters. 47 | EQUALS = = 48 | 49 | # The top-level source directory on which CMake was run. 50 | CMAKE_SOURCE_DIR = C:\Users\Akshay\CLionProjects\DSAonC 51 | 52 | # The top-level build directory on which CMake was run. 53 | CMAKE_BINARY_DIR = C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug 54 | 55 | #============================================================================= 56 | # Targets provided globally by CMake. 57 | 58 | # Special rule for the target edit_cache 59 | edit_cache: 60 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." 61 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -E echo "No interactive CMake dialog available." 62 | .PHONY : edit_cache 63 | 64 | # Special rule for the target edit_cache 65 | edit_cache/fast: edit_cache 66 | 67 | .PHONY : edit_cache/fast 68 | 69 | # Special rule for the target rebuild_cache 70 | rebuild_cache: 71 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." 72 | "D:\CLion 2018.2.5\bin\cmake\win\bin\cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 73 | .PHONY : rebuild_cache 74 | 75 | # Special rule for the target rebuild_cache 76 | rebuild_cache/fast: rebuild_cache 77 | 78 | .PHONY : rebuild_cache/fast 79 | 80 | # The main all target 81 | all: cmake_check_build_system 82 | $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles\progress.marks 83 | $(MAKE) -f CMakeFiles\Makefile2 all 84 | $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\Akshay\CLionProjects\DSAonC\cmake-build-debug\CMakeFiles 0 85 | .PHONY : all 86 | 87 | # The main clean target 88 | clean: 89 | $(MAKE) -f CMakeFiles\Makefile2 clean 90 | .PHONY : clean 91 | 92 | # The main clean target 93 | clean/fast: clean 94 | 95 | .PHONY : clean/fast 96 | 97 | # Prepare targets for installation. 98 | preinstall: all 99 | $(MAKE) -f CMakeFiles\Makefile2 preinstall 100 | .PHONY : preinstall 101 | 102 | # Prepare targets for installation. 103 | preinstall/fast: 104 | $(MAKE) -f CMakeFiles\Makefile2 preinstall 105 | .PHONY : preinstall/fast 106 | 107 | # clear depends 108 | depend: 109 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1 110 | .PHONY : depend 111 | 112 | #============================================================================= 113 | # Target rules for targets named DSAImplementation 114 | 115 | # Build rule for target. 116 | DSAImplementation: cmake_check_build_system 117 | $(MAKE) -f CMakeFiles\Makefile2 DSAImplementation 118 | .PHONY : DSAImplementation 119 | 120 | # fast build rule for target. 121 | DSAImplementation/fast: 122 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/build 123 | .PHONY : DSAImplementation/fast 124 | 125 | arraylist.obj: arraylist.c.obj 126 | 127 | .PHONY : arraylist.obj 128 | 129 | # target to build an object file 130 | arraylist.c.obj: 131 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/arraylist.c.obj 132 | .PHONY : arraylist.c.obj 133 | 134 | arraylist.i: arraylist.c.i 135 | 136 | .PHONY : arraylist.i 137 | 138 | # target to preprocess a source file 139 | arraylist.c.i: 140 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/arraylist.c.i 141 | .PHONY : arraylist.c.i 142 | 143 | arraylist.s: arraylist.c.s 144 | 145 | .PHONY : arraylist.s 146 | 147 | # target to generate assembly for a file 148 | arraylist.c.s: 149 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/arraylist.c.s 150 | .PHONY : arraylist.c.s 151 | 152 | avl_bst.obj: avl_bst.c.obj 153 | 154 | .PHONY : avl_bst.obj 155 | 156 | # target to build an object file 157 | avl_bst.c.obj: 158 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/avl_bst.c.obj 159 | .PHONY : avl_bst.c.obj 160 | 161 | avl_bst.i: avl_bst.c.i 162 | 163 | .PHONY : avl_bst.i 164 | 165 | # target to preprocess a source file 166 | avl_bst.c.i: 167 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/avl_bst.c.i 168 | .PHONY : avl_bst.c.i 169 | 170 | avl_bst.s: avl_bst.c.s 171 | 172 | .PHONY : avl_bst.s 173 | 174 | # target to generate assembly for a file 175 | avl_bst.c.s: 176 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/avl_bst.c.s 177 | .PHONY : avl_bst.c.s 178 | 179 | bst.obj: bst.c.obj 180 | 181 | .PHONY : bst.obj 182 | 183 | # target to build an object file 184 | bst.c.obj: 185 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/bst.c.obj 186 | .PHONY : bst.c.obj 187 | 188 | bst.i: bst.c.i 189 | 190 | .PHONY : bst.i 191 | 192 | # target to preprocess a source file 193 | bst.c.i: 194 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/bst.c.i 195 | .PHONY : bst.c.i 196 | 197 | bst.s: bst.c.s 198 | 199 | .PHONY : bst.s 200 | 201 | # target to generate assembly for a file 202 | bst.c.s: 203 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/bst.c.s 204 | .PHONY : bst.c.s 205 | 206 | btree.obj: btree.c.obj 207 | 208 | .PHONY : btree.obj 209 | 210 | # target to build an object file 211 | btree.c.obj: 212 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/btree.c.obj 213 | .PHONY : btree.c.obj 214 | 215 | btree.i: btree.c.i 216 | 217 | .PHONY : btree.i 218 | 219 | # target to preprocess a source file 220 | btree.c.i: 221 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/btree.c.i 222 | .PHONY : btree.c.i 223 | 224 | btree.s: btree.c.s 225 | 226 | .PHONY : btree.s 227 | 228 | # target to generate assembly for a file 229 | btree.c.s: 230 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/btree.c.s 231 | .PHONY : btree.c.s 232 | 233 | graph.obj: graph.c.obj 234 | 235 | .PHONY : graph.obj 236 | 237 | # target to build an object file 238 | graph.c.obj: 239 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph.c.obj 240 | .PHONY : graph.c.obj 241 | 242 | graph.i: graph.c.i 243 | 244 | .PHONY : graph.i 245 | 246 | # target to preprocess a source file 247 | graph.c.i: 248 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph.c.i 249 | .PHONY : graph.c.i 250 | 251 | graph.s: graph.c.s 252 | 253 | .PHONY : graph.s 254 | 255 | # target to generate assembly for a file 256 | graph.c.s: 257 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph.c.s 258 | .PHONY : graph.c.s 259 | 260 | graph2.obj: graph2.c.obj 261 | 262 | .PHONY : graph2.obj 263 | 264 | # target to build an object file 265 | graph2.c.obj: 266 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph2.c.obj 267 | .PHONY : graph2.c.obj 268 | 269 | graph2.i: graph2.c.i 270 | 271 | .PHONY : graph2.i 272 | 273 | # target to preprocess a source file 274 | graph2.c.i: 275 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph2.c.i 276 | .PHONY : graph2.c.i 277 | 278 | graph2.s: graph2.c.s 279 | 280 | .PHONY : graph2.s 281 | 282 | # target to generate assembly for a file 283 | graph2.c.s: 284 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/graph2.c.s 285 | .PHONY : graph2.c.s 286 | 287 | heap.obj: heap.c.obj 288 | 289 | .PHONY : heap.obj 290 | 291 | # target to build an object file 292 | heap.c.obj: 293 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/heap.c.obj 294 | .PHONY : heap.c.obj 295 | 296 | heap.i: heap.c.i 297 | 298 | .PHONY : heap.i 299 | 300 | # target to preprocess a source file 301 | heap.c.i: 302 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/heap.c.i 303 | .PHONY : heap.c.i 304 | 305 | heap.s: heap.c.s 306 | 307 | .PHONY : heap.s 308 | 309 | # target to generate assembly for a file 310 | heap.c.s: 311 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/heap.c.s 312 | .PHONY : heap.c.s 313 | 314 | helpers.obj: helpers.c.obj 315 | 316 | .PHONY : helpers.obj 317 | 318 | # target to build an object file 319 | helpers.c.obj: 320 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/helpers.c.obj 321 | .PHONY : helpers.c.obj 322 | 323 | helpers.i: helpers.c.i 324 | 325 | .PHONY : helpers.i 326 | 327 | # target to preprocess a source file 328 | helpers.c.i: 329 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/helpers.c.i 330 | .PHONY : helpers.c.i 331 | 332 | helpers.s: helpers.c.s 333 | 334 | .PHONY : helpers.s 335 | 336 | # target to generate assembly for a file 337 | helpers.c.s: 338 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/helpers.c.s 339 | .PHONY : helpers.c.s 340 | 341 | linkedlist.obj: linkedlist.c.obj 342 | 343 | .PHONY : linkedlist.obj 344 | 345 | # target to build an object file 346 | linkedlist.c.obj: 347 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/linkedlist.c.obj 348 | .PHONY : linkedlist.c.obj 349 | 350 | linkedlist.i: linkedlist.c.i 351 | 352 | .PHONY : linkedlist.i 353 | 354 | # target to preprocess a source file 355 | linkedlist.c.i: 356 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/linkedlist.c.i 357 | .PHONY : linkedlist.c.i 358 | 359 | linkedlist.s: linkedlist.c.s 360 | 361 | .PHONY : linkedlist.s 362 | 363 | # target to generate assembly for a file 364 | linkedlist.c.s: 365 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/linkedlist.c.s 366 | .PHONY : linkedlist.c.s 367 | 368 | liststructures.obj: liststructures.c.obj 369 | 370 | .PHONY : liststructures.obj 371 | 372 | # target to build an object file 373 | liststructures.c.obj: 374 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/liststructures.c.obj 375 | .PHONY : liststructures.c.obj 376 | 377 | liststructures.i: liststructures.c.i 378 | 379 | .PHONY : liststructures.i 380 | 381 | # target to preprocess a source file 382 | liststructures.c.i: 383 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/liststructures.c.i 384 | .PHONY : liststructures.c.i 385 | 386 | liststructures.s: liststructures.c.s 387 | 388 | .PHONY : liststructures.s 389 | 390 | # target to generate assembly for a file 391 | liststructures.c.s: 392 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/liststructures.c.s 393 | .PHONY : liststructures.c.s 394 | 395 | main.obj: main.c.obj 396 | 397 | .PHONY : main.obj 398 | 399 | # target to build an object file 400 | main.c.obj: 401 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main.c.obj 402 | .PHONY : main.c.obj 403 | 404 | main.i: main.c.i 405 | 406 | .PHONY : main.i 407 | 408 | # target to preprocess a source file 409 | main.c.i: 410 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main.c.i 411 | .PHONY : main.c.i 412 | 413 | main.s: main.c.s 414 | 415 | .PHONY : main.s 416 | 417 | # target to generate assembly for a file 418 | main.c.s: 419 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main.c.s 420 | .PHONY : main.c.s 421 | 422 | main_tree.obj: main_tree.c.obj 423 | 424 | .PHONY : main_tree.obj 425 | 426 | # target to build an object file 427 | main_tree.c.obj: 428 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main_tree.c.obj 429 | .PHONY : main_tree.c.obj 430 | 431 | main_tree.i: main_tree.c.i 432 | 433 | .PHONY : main_tree.i 434 | 435 | # target to preprocess a source file 436 | main_tree.c.i: 437 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main_tree.c.i 438 | .PHONY : main_tree.c.i 439 | 440 | main_tree.s: main_tree.c.s 441 | 442 | .PHONY : main_tree.s 443 | 444 | # target to generate assembly for a file 445 | main_tree.c.s: 446 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/main_tree.c.s 447 | .PHONY : main_tree.c.s 448 | 449 | queue_ll.obj: queue_ll.c.obj 450 | 451 | .PHONY : queue_ll.obj 452 | 453 | # target to build an object file 454 | queue_ll.c.obj: 455 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/queue_ll.c.obj 456 | .PHONY : queue_ll.c.obj 457 | 458 | queue_ll.i: queue_ll.c.i 459 | 460 | .PHONY : queue_ll.i 461 | 462 | # target to preprocess a source file 463 | queue_ll.c.i: 464 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/queue_ll.c.i 465 | .PHONY : queue_ll.c.i 466 | 467 | queue_ll.s: queue_ll.c.s 468 | 469 | .PHONY : queue_ll.s 470 | 471 | # target to generate assembly for a file 472 | queue_ll.c.s: 473 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/queue_ll.c.s 474 | .PHONY : queue_ll.c.s 475 | 476 | sortnsearch.obj: sortnsearch.c.obj 477 | 478 | .PHONY : sortnsearch.obj 479 | 480 | # target to build an object file 481 | sortnsearch.c.obj: 482 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/sortnsearch.c.obj 483 | .PHONY : sortnsearch.c.obj 484 | 485 | sortnsearch.i: sortnsearch.c.i 486 | 487 | .PHONY : sortnsearch.i 488 | 489 | # target to preprocess a source file 490 | sortnsearch.c.i: 491 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/sortnsearch.c.i 492 | .PHONY : sortnsearch.c.i 493 | 494 | sortnsearch.s: sortnsearch.c.s 495 | 496 | .PHONY : sortnsearch.s 497 | 498 | # target to generate assembly for a file 499 | sortnsearch.c.s: 500 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/sortnsearch.c.s 501 | .PHONY : sortnsearch.c.s 502 | 503 | stackQueue.obj: stackQueue.c.obj 504 | 505 | .PHONY : stackQueue.obj 506 | 507 | # target to build an object file 508 | stackQueue.c.obj: 509 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stackQueue.c.obj 510 | .PHONY : stackQueue.c.obj 511 | 512 | stackQueue.i: stackQueue.c.i 513 | 514 | .PHONY : stackQueue.i 515 | 516 | # target to preprocess a source file 517 | stackQueue.c.i: 518 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stackQueue.c.i 519 | .PHONY : stackQueue.c.i 520 | 521 | stackQueue.s: stackQueue.c.s 522 | 523 | .PHONY : stackQueue.s 524 | 525 | # target to generate assembly for a file 526 | stackQueue.c.s: 527 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stackQueue.c.s 528 | .PHONY : stackQueue.c.s 529 | 530 | stack_al.obj: stack_al.c.obj 531 | 532 | .PHONY : stack_al.obj 533 | 534 | # target to build an object file 535 | stack_al.c.obj: 536 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stack_al.c.obj 537 | .PHONY : stack_al.c.obj 538 | 539 | stack_al.i: stack_al.c.i 540 | 541 | .PHONY : stack_al.i 542 | 543 | # target to preprocess a source file 544 | stack_al.c.i: 545 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stack_al.c.i 546 | .PHONY : stack_al.c.i 547 | 548 | stack_al.s: stack_al.c.s 549 | 550 | .PHONY : stack_al.s 551 | 552 | # target to generate assembly for a file 553 | stack_al.c.s: 554 | $(MAKE) -f CMakeFiles\DSAImplementation.dir\build.make CMakeFiles/DSAImplementation.dir/stack_al.c.s 555 | .PHONY : stack_al.c.s 556 | 557 | # Help Target 558 | help: 559 | @echo The following are some of the valid targets for this Makefile: 560 | @echo ... all (the default if no target is provided) 561 | @echo ... clean 562 | @echo ... depend 563 | @echo ... DSAImplementation 564 | @echo ... edit_cache 565 | @echo ... rebuild_cache 566 | @echo ... arraylist.obj 567 | @echo ... arraylist.i 568 | @echo ... arraylist.s 569 | @echo ... avl_bst.obj 570 | @echo ... avl_bst.i 571 | @echo ... avl_bst.s 572 | @echo ... bst.obj 573 | @echo ... bst.i 574 | @echo ... bst.s 575 | @echo ... btree.obj 576 | @echo ... btree.i 577 | @echo ... btree.s 578 | @echo ... graph.obj 579 | @echo ... graph.i 580 | @echo ... graph.s 581 | @echo ... graph2.obj 582 | @echo ... graph2.i 583 | @echo ... graph2.s 584 | @echo ... heap.obj 585 | @echo ... heap.i 586 | @echo ... heap.s 587 | @echo ... helpers.obj 588 | @echo ... helpers.i 589 | @echo ... helpers.s 590 | @echo ... linkedlist.obj 591 | @echo ... linkedlist.i 592 | @echo ... linkedlist.s 593 | @echo ... liststructures.obj 594 | @echo ... liststructures.i 595 | @echo ... liststructures.s 596 | @echo ... main.obj 597 | @echo ... main.i 598 | @echo ... main.s 599 | @echo ... main_tree.obj 600 | @echo ... main_tree.i 601 | @echo ... main_tree.s 602 | @echo ... queue_ll.obj 603 | @echo ... queue_ll.i 604 | @echo ... queue_ll.s 605 | @echo ... sortnsearch.obj 606 | @echo ... sortnsearch.i 607 | @echo ... sortnsearch.s 608 | @echo ... stackQueue.obj 609 | @echo ... stackQueue.i 610 | @echo ... stackQueue.s 611 | @echo ... stack_al.obj 612 | @echo ... stack_al.i 613 | @echo ... stack_al.s 614 | .PHONY : help 615 | 616 | 617 | 618 | #============================================================================= 619 | # Special targets to cleanup operation of make. 620 | 621 | # Special rule to run CMake to check the build system integrity. 622 | # No rule that depends on this can have commands that come from listfiles 623 | # because they might be regenerated. 624 | cmake_check_build_system: 625 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0 626 | .PHONY : cmake_check_build_system 627 | 628 | -------------------------------------------------------------------------------- /cmake-build-debug/cmake_install.cmake: -------------------------------------------------------------------------------- 1 | # Install script for directory: C:/Users/Akshay/CLionProjects/DSAonC 2 | 3 | # Set the install prefix 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) 5 | set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/DSAImplementation") 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 "C:/Users/Akshay/CLionProjects/DSAonC/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" 44 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") 45 | -------------------------------------------------------------------------------- /graph.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by BANSI on 17-11-2018. 3 | // 4 | 5 | #include 6 | #include 7 | #include 8 | #include "graph.h" 9 | 10 | 11 | Graph graph_create(int n) { 12 | Graph g; int i; 13 | g = malloc(sizeof(struct graph) + sizeof(struct vertices *) * (n-1)); 14 | assert(g); 15 | g->v = n; g->e = 0; 16 | for(i = 0; i < n; i++) { 17 | g->alist[i] = malloc(sizeof(struct vertices)); assert(g->alist[i]); 18 | g->alist[i]->s = 0; 19 | } 20 | return g; 21 | } 22 | void graph_destroy(Graph g) { 23 | for(int i = 0; i < g->v; i++) free(g->alist[i]); 24 | free(g); 25 | } 26 | void graph_add_edge(Graph g, int u, int v) { 27 | assert(u >= 0); assert(v >= 0); assert(u < g->v); assert(v < g->v); 28 | g->alist[u]->succ_list[g->alist[u]->s++] = v; 29 | g->e++; 30 | } 31 | int graph_vertex_count(Graph g) { 32 | return g->v; 33 | } 34 | int graph_edge_count(Graph g) { 35 | return g->e; 36 | } 37 | int graph_out_degree(Graph g, int u) { 38 | assert(u >= 0); assert(u < g->v); 39 | return g->alist[u]->s; 40 | } 41 | int graph_has_edge(Graph g, int u, int v) { 42 | for(int i = 0; i < g->alist[u]->s; i++) 43 | if(g->alist[u]->succ_list[i] == v) return 1; 44 | return 0; 45 | } 46 | 47 | void main_graph1() { 48 | beginGraph1: 49 | printf("\n" 50 | "1. Generate graph\n" 51 | "2. Find out-degree of a node\n" 52 | "3. Find total nodes\n" 53 | "4. Find total edges\n" 54 | "99. Main Menu\n" 55 | ); 56 | 57 | int x; scanf("%d", &x); 58 | switch (x){ 59 | case 1:; 60 | Graph g = graph_create(4); 61 | graph_add_edge(g, 0, 1); 62 | graph_add_edge(g, 0, 2); 63 | graph_add_edge(g, 0, 3); 64 | graph_add_edge(g, 1, 2); 65 | graph_add_edge(g, 1, 3); 66 | graph_add_edge(g, 2, 3); 67 | graph_add_edge(g, 2, 0); 68 | graph_add_edge(g, 3, 1); 69 | goto beginGraph1; 70 | case 2: 71 | printf("out degree of 0 node : %d\n", graph_out_degree(g, 0)); 72 | goto beginGraph1; 73 | case 3: 74 | printf("Total Nodes : %d\n", graph_vertex_count(g)); 75 | goto beginGraph1; 76 | case 4: 77 | printf("Total edges : %d\n", graph_edge_count(g)); 78 | goto beginGraph1; 79 | default: 80 | return; 81 | } 82 | 83 | } -------------------------------------------------------------------------------- /graph.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by BANSI on 17-11-2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_GRAPH_H 6 | #define DSAIMPLEMENTATION_GRAPH_H 7 | 8 | #endif //DSAIMPLEMENTATION_GRAPH_H 9 | 10 | /* for directed graph */ 11 | struct graph { 12 | int v, e; 13 | struct vertices { 14 | int s, succ_list[1]; 15 | }* alist[1]; 16 | }; 17 | typedef struct graph* Graph; 18 | Graph graph_create(int n); 19 | void graph_destroy(Graph); 20 | void graph_add_edge(Graph, int source, int sink); 21 | int graph_vertex_count(Graph); 22 | int graph_edge_count(Graph); 23 | int graph_out_degree(Graph, int source); 24 | int graph_has_edge(Graph, int source, int sink); 25 | void main_graph1(); -------------------------------------------------------------------------------- /graph2.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by BANSI on 17-11-2018. 3 | // 4 | 5 | #include 6 | #include 7 | #include 8 | #include "graph2.h" 9 | 10 | 11 | Graph2 graph2_create(int n) { 12 | Graph2 g=malloc(sizeof(Graph2)); 13 | assert(g); 14 | g->v=n; 15 | g->e=0; 16 | g->matrix = (int*)malloc(n*n*sizeof(int)); 17 | for (int i=0; imatrix + i*n + j) = 0; 20 | return g; 21 | } 22 | void graph2_destroy(Graph2 g) { 23 | free(g->matrix); 24 | free(g); 25 | } 26 | void graph2_add_edge(Graph2 g, int source, int sink) { 27 | assert(source>=0); assert(sink>=0); assert(sourcev); assert(sinkv); 28 | *(g->matrix + (g->v)*source + sink) = 1; 29 | g->e++; 30 | } 31 | int graph2_vertex_count(Graph2 g) { 32 | return g->v; 33 | } 34 | int graph2_edge_count(Graph2 g) { 35 | return g->e; 36 | } 37 | int graph2_out_degree(Graph2 g, int source) { 38 | assert(source>=0); assert(sourcev); 39 | int counter=0; 40 | for (int i=0; iv; i++) 41 | if (*(g->matrix + (g->v)*source + i) == 1) counter++; 42 | return counter; 43 | } 44 | int graph2_has_edge(Graph2 g, int source, int sink) { 45 | assert(source>=0); assert(sourcev); assert(sinkv); assert(sink>=0); 46 | if (*(g->matrix + (g->v)*source + sink) == 1) return 1; 47 | return 0; 48 | } 49 | 50 | void main_graph2() { 51 | beginGraph1: 52 | printf("\n" 53 | "1. Generate graph\n" 54 | "2. Find out-degree of a node\n" 55 | "3. Find total nodes\n" 56 | "4. Find total edges\n" 57 | "99. Main Menu\n" 58 | ); 59 | 60 | int x; scanf("%d", &x); 61 | switch (x){ 62 | case 1:; 63 | Graph2 g = graph2_create(4); 64 | graph2_add_edge(g, 0, 1); 65 | graph2_add_edge(g, 0, 2); 66 | graph2_add_edge(g, 0, 3); 67 | graph2_add_edge(g, 1, 2); 68 | graph2_add_edge(g, 1, 3); 69 | graph2_add_edge(g, 2, 3); 70 | graph2_add_edge(g, 2, 0); 71 | graph2_add_edge(g, 3, 1); 72 | goto beginGraph1; 73 | case 2:; 74 | int x1; 75 | printf("Enter the key of node: "); 76 | scanf("%d", &x1); 77 | printf("out degree of 0 node : %d\n", graph2_out_degree(g, x1)); 78 | goto beginGraph1; 79 | case 3: 80 | printf("Total Nodes : %d\n", graph2_vertex_count(g)); 81 | goto beginGraph1; 82 | case 4: 83 | printf("Total edges : %d\n", graph2_edge_count(g)); 84 | goto beginGraph1; 85 | default: 86 | return; 87 | } 88 | } 89 | 90 | 91 | // 92 | // printf("out degree of 0 node : %d\n", graph_out_degree(g, 2)); 93 | // printf("Has Edge : %d\n", graph_has_edge(g, 0, 2)); 94 | // printf("Total Nodes : %d\n", graph_vertex_count(g)); 95 | // printf("Total edges : %d\n", graph_edge_count(g)); 96 | //} -------------------------------------------------------------------------------- /graph2.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by BANSI on 17-11-2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_GRAPH2_H 6 | #define DSAIMPLEMENTATION_GRAPH2_H 7 | 8 | #endif //DSAIMPLEMENTATION_GRAPH2_H 9 | 10 | /* for directed graph */ 11 | 12 | struct graph2 { 13 | int v, e; 14 | int* matrix; 15 | }; 16 | typedef struct graph2* Graph2; 17 | Graph2 graph2_create(int n); 18 | void graph2_destroy(Graph2); 19 | void graph2_add_edge(Graph2, int source, int sink); 20 | int graph2_vertex_count(Graph2); 21 | int graph2_edge_count(Graph2); 22 | int graph2_out_degree(Graph2, int source); 23 | int graph2_has_edge(Graph2, int source, int sink); 24 | void main_graph2(); -------------------------------------------------------------------------------- /heap.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by ankit on 17-Nov-18. 3 | // 4 | 5 | #include "heap.h" 6 | #include 7 | #include 8 | void crheap(int [], int); 9 | int createHeap(int[]); 10 | void processheap(int [],int); 11 | void main_heap() 12 | { 13 | //clrscr(); 14 | int k[50], n; 15 | heap:; 16 | int x; 17 | printf("\n" 18 | "1. Enter elements into heap\n" 19 | "2. Sort Heap\n" 20 | "3. Output array\n" 21 | "99. Main menu\n" 22 | "Enter yor selection: " 23 | ); 24 | int x1; 25 | int output; 26 | scanf("%d", &x1); 27 | switch(x1){ 28 | case 1: 29 | n = createHeap(k); 30 | goto heap; 31 | case 2: 32 | processheap(k,n); 33 | goto heap; 34 | case 3: 35 | processheap(k, n); 36 | goto heap; 37 | default: 38 | return; 39 | } 40 | } 41 | 42 | int createHeap(int k[]){ 43 | int i, n; 44 | printf("\n Number of elements: "); 45 | scanf(" %d",&n); 46 | printf("\n Enter the elements in the heap: "); 47 | for(i=1;i<=n;i++) 48 | scanf(" %d",&k[i]); 49 | crheap(k,n); 50 | return n; 51 | } 52 | 53 | void crheap(int k[],int n) 54 | { 55 | int i,q, parent,child,temp; 56 | for(q=2;q<=n;q++) 57 | { 58 | child=q; 59 | parent=(int)child/2; 60 | while(child >1 && k[child] > k[parent]) 61 | { 62 | temp=k[child]; 63 | k[child]= k[parent]; 64 | k[parent]=temp; 65 | child=parent; 66 | parent=(int)child/2; 67 | if(parent < 1) 68 | parent=1; 69 | } 70 | } 71 | printf("\n Maximum Element: "); 72 | for(i=1;i<=n-(n-1);i++) 73 | printf("%5d",k[i]); 74 | printf("\n Final Heap: "); 75 | for(i=1;i<=n;i++) 76 | printf(" %3d",k[i]); 77 | } 78 | 79 | /* function to sort a heap */ 80 | void processheap(int k[],int n) 81 | { 82 | int current,parent,child,i,maxnodes; 83 | for(maxnodes=n;maxnodes>=2;maxnodes--) 84 | { 85 | current=k[maxnodes];; 86 | k[maxnodes]=k[1]; 87 | /* adjust the array to be a heap of size n-1 */ 88 | parent=1; 89 | /* obtain the larger of the root's children */ 90 | if (maxnodes-1 >= 3 && k[3] > k[2]) 91 | child=3; 92 | else 93 | child = 2; 94 | /* move keys upwards to find place for current */ 95 | while (child<=maxnodes-1 && k[child]>=current) 96 | { 97 | k[parent]=k[child]; 98 | parent=child; 99 | child=child*2; 100 | if(child+1 <= maxnodes-1 && k[child+1] > k[child]) 101 | child = child + 1; 102 | } 103 | k[parent]=current; 104 | } /* end of for */ 105 | printf("\n The sorted array is : "); 106 | for(i=1;i<=n;i++) 107 | printf("%4d",k[i]); 108 | getch(); 109 | } -------------------------------------------------------------------------------- /heap.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by ankit on 17-Nov-18. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_HEAP_H 6 | #define DSAIMPLEMENTATION_HEAP_H 7 | 8 | void main_heap(); 9 | 10 | #endif //DSAIMPLEMENTATION_HEAP_H 11 | -------------------------------------------------------------------------------- /helpers.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | 5 | #include "helpers.h" 6 | #include 7 | #include 8 | #include 9 | 10 | void clearScreen(){ 11 | for(int i = 0; i<1000; i++){ 12 | printf("\n"); 13 | } 14 | } 15 | 16 | void pressEnterKey(){ 17 | printf("\n\nPress ENTER to continue"); 18 | fflush(stdout); 19 | getchar(); 20 | getchar(); 21 | } 22 | -------------------------------------------------------------------------------- /helpers.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_HELPERS_H 6 | #define DSAIMPLEMENTATION_HELPERS_H 7 | 8 | void clearScreen(); 9 | void pressEnterKey(); 10 | 11 | #endif //DSAIMPLEMENTATION_HELPERS_H 12 | -------------------------------------------------------------------------------- /linkedlist.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/28/2018. 3 | // 4 | 5 | #include 6 | #include 7 | 8 | #include "linkedlist.h" 9 | 10 | linkedList *newLinkedList(){ 11 | linkedList *llist = malloc(sizeof(linkedList)); 12 | llist->size = 0; 13 | node *head = malloc(sizeof(node)); 14 | head->data = -777; 15 | head->next = NULL; 16 | llist->head = head; 17 | llist->tail = malloc(sizeof(node)); 18 | llist->tail->next = NULL; 19 | llist->tail->data = -888; 20 | return llist; 21 | } 22 | 23 | int isEmpty_linkedList(linkedList llist){ 24 | if(llist.size == 0) return 1; 25 | else return 0; 26 | } 27 | 28 | void insert_linkedList(linkedList *llist, int item, int position) { 29 | if(position >= llist->size) position = 999; 30 | if (llist->size == 0) { 31 | node *newNode = malloc(sizeof(node)); 32 | newNode->data = item; 33 | newNode->next = NULL; 34 | llist->head->next = newNode; 35 | llist->tail->next = newNode; 36 | llist->size++; 37 | } else { 38 | //printf("Come here"); 39 | if (position == 0){ 40 | //printf("position0here"); 41 | node *temp = llist->head->next; 42 | node *newNode = malloc(sizeof(node)); 43 | newNode->data = item; 44 | newNode->next = temp; 45 | llist->head->next = newNode; 46 | llist->size++; 47 | }else if(position == 999) { 48 | printf("-2HERE"); 49 | //printf("positionENDhere"); 50 | node *newNode = malloc(sizeof(node)); 51 | newNode->data = item; 52 | newNode->next = NULL; 53 | llist->tail->next->next = newNode; 54 | llist->tail->next = newNode; 55 | llist->size++; 56 | } 57 | else { 58 | node *current = llist->head; 59 | //printf("positionRANDOMhere"); 60 | int count = position; 61 | while(count>0){ 62 | current = current->next; 63 | count--; 64 | } 65 | node *newNode = malloc(sizeof(node)); 66 | newNode->data = item; 67 | newNode->next = current->next; 68 | current->next = newNode; 69 | llist->tail->next = newNode; 70 | llist->size++; 71 | } 72 | } 73 | } 74 | 75 | 76 | void displayList_linkedList(linkedList lList){ 77 | printf("Linked List Size: %d\n", lList.size); 78 | printf("Contents of linked list: "); 79 | node *current = lList.head; 80 | current = current->next; 81 | while(current!=NULL){ 82 | printf("%d -> ", current->data); 83 | current = current->next; 84 | } 85 | } 86 | 87 | void delete_linkedList(linkedList *ll, int pos){ 88 | if(pos < ll->size) { 89 | int count = pos; 90 | node *current = ll->head; 91 | while (count > 0) { 92 | current = current->next; 93 | count--; 94 | } 95 | current->next = current->next->next; 96 | ll->size--; 97 | } 98 | else printf("Invalid position entered"); 99 | } -------------------------------------------------------------------------------- /linkedlist.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/28/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_LINKEDLIST_H 6 | #define DSAIMPLEMENTATION_LINKEDLIST_H 7 | 8 | typedef struct node{ 9 | int data; 10 | struct node* next; 11 | } node; 12 | 13 | typedef struct linkedList{ 14 | int size; 15 | node *tail; 16 | node *head; 17 | } linkedList; 18 | 19 | linkedList *newLinkedList(); 20 | void insert_linkedList(linkedList*, int, int); 21 | int isEmpty_linkedList(linkedList); 22 | void displayList_linkedList(linkedList); 23 | void delete_linkedList(linkedList*, int); 24 | 25 | #endif //DSAIMPLEMENTATION_LINKEDLIST_H 26 | -------------------------------------------------------------------------------- /liststructures.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | #include 5 | #include 6 | 7 | #include "liststructures.h" 8 | #include "arraylist.h" 9 | #include "linkedlist.h" 10 | #include "helpers.h" 11 | #include "main.h" 12 | #include "sortnsearch.h" 13 | 14 | static int listType = 0; 15 | 16 | void listMenu(){ 17 | //clearScreen(); 18 | char *s0 = "Array List"; 19 | char *s1 = "Linked List"; 20 | arrayList *aList = newArrayList(10); 21 | linkedList *lList = newLinkedList(); 22 | begin: 23 | printf("\nCurrent list structure: %s\n", listType==0?s0:s1); 24 | printf( 25 | "\n" 26 | "What will you like to perform?\n" 27 | "1) Add items to list\n" 28 | "2) Display items from list\n" 29 | "3) Delete items from list\n" 30 | "4) Sort the list\n" 31 | ); 32 | printf("5) Switch to %s\n", listType==0?s1:s0); 33 | printf("Enter your selection: "); 34 | int x; scanf("%d", &x); 35 | switch(x){ 36 | case 1:; 37 | int i1, p1; 38 | do { 39 | printf("\n" 40 | "Enter an element to insert followed by position (USE 0 FOR TOP)\n" 41 | "Enter -1 -1 to return to main menu\n" 42 | "Insert: "); 43 | scanf("%d %d", &i1, &p1); 44 | if(p1 > -1){ 45 | if(listType==0) insert_arrayList(aList, i1, p1); 46 | else if(listType==1) insert_linkedList(lList, i1, p1); 47 | } 48 | }while(i1 != -1 && p1 != -1); 49 | goto begin; 50 | case 2: 51 | if(listType==0) { 52 | if (isEmpty_arrayList(*aList) != 1) { 53 | displayList_arrayList(*aList); 54 | pressEnterKey(); 55 | } else printf("The list is empty!"); 56 | } 57 | else if(listType==1){ 58 | if(isEmpty_linkedList(*lList) != 1){ 59 | displayList_linkedList(*lList); 60 | pressEnterKey(); 61 | } 62 | } 63 | goto begin; 64 | case 3: 65 | if(listType==0) { 66 | printf("\n" 67 | "To delete by position enter P followed by position\n" 68 | "To delete by item enter I followed by item\n" 69 | "Delete: "); 70 | int i2; 71 | char p2; 72 | scanf("%c %d", &p2, &i2); 73 | if (p2 == 'P') { 74 | delete_arrayList(aList, i2); 75 | } else if (p2 == 'I') { 76 | int pos = linearSearch_arrayList(*aList, i2); 77 | if (pos != 0) 78 | delete_arrayList(aList, pos); 79 | else printf("%d does not exist in the list", i2); 80 | } 81 | }else{ 82 | printf("\n" 83 | "Enter the position to delete: " 84 | ); 85 | int i2; scanf("%d", &i2); 86 | delete_linkedList(lList, i2); 87 | } 88 | goto begin; 89 | case 4: 90 | printf("\n" 91 | "For insertion sort enter I followed by 0 or 1\n" 92 | "For merge sort enter M followed by 0 or 1\n" 93 | "Sort: "); 94 | char p3; int i3; 95 | scanf("%c %d", &p3, &i3); 96 | if(p3 == 'I'){ 97 | insertionSort_arrayList(aList, i3); 98 | } 99 | printf("Sorting successful"); 100 | goto begin; 101 | case 5: 102 | switchList(); 103 | printf("\nSwitched to %s",listType==0?s0:s1); 104 | goto begin; 105 | default: 106 | main(); 107 | return; 108 | } 109 | } 110 | 111 | void switchList(){ 112 | if(listType==0) listType = 1; 113 | else listType = 0; 114 | } -------------------------------------------------------------------------------- /liststructures.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/27/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_LISTSTRUCTURES_H 6 | #define DSAIMPLEMENTATION_LISTSTRUCTURES_H 7 | 8 | void listMenu(); 9 | void switchList(); 10 | 11 | #endif //DSAIMPLEMENTATION_LISTSTRUCTURES_H 12 | -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "liststructures.h" 3 | #include "stackQueue.h" 4 | #include "graph.h" 5 | #include "graph2.h" 6 | #include "main_tree.h" 7 | #include "heap.h" 8 | 9 | void heapOptions(); 10 | void graphOptions(); 11 | int main() { 12 | int ch; 13 | while(1) 14 | { 15 | printf( 16 | "\nWhat will you like to test?\n" 17 | "1. Stack and Queues\n" 18 | "2. List Structures\n" 19 | "3. Binary Search Tree\n" 20 | "4. Heap\n" 21 | "5. Graphs\n" 22 | "99. EXIT\n" 23 | "Enter your Choice: " 24 | ); 25 | scanf("%d", &ch); 26 | switch(ch) 27 | { 28 | case 1: 29 | stackQueue(); 30 | break; 31 | 32 | case 2: 33 | listMenu(); 34 | break; 35 | 36 | case 3: 37 | main_tree(); 38 | break; 39 | case 4: 40 | heapOptions(); 41 | break; 42 | case 5: 43 | graphOptions(); 44 | break; 45 | case 99: 46 | return 0; 47 | } 48 | } 49 | } 50 | 51 | void heapOptions(){ 52 | main_heap(); 53 | } 54 | 55 | void graphOptions() 56 | { 57 | printf("\n" 58 | "1. Graphs using lists\n" 59 | "2. Graphs using matrix\n" 60 | "99. Back to main menu\n" 61 | ); 62 | int x; scanf("%d", &x); 63 | switch(x){ 64 | case 1: 65 | main_graph1(); 66 | break; 67 | case 2: 68 | main_graph2(); 69 | break; 70 | case 99: 71 | return; 72 | default: 73 | return; 74 | } 75 | } -------------------------------------------------------------------------------- /main.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 11/14/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_MAIN_H 6 | #define DSAIMPLEMENTATION_MAIN_H 7 | 8 | int main(); 9 | 10 | #endif //DSAIMPLEMENTATION_MAIN_H 11 | -------------------------------------------------------------------------------- /main_tree.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #include "avl_bst.h" 6 | #include 7 | #include 8 | #include "helpers.h" 9 | 10 | void main_tree() 11 | { 12 | root_tree = temp_tree = NULL; 13 | int 14 | ch, 15 | // root_tree = insert_bst(root_tree, 80); 16 | // root_tree = insert_bst(root_tree, 40); 17 | // root_tree = insert_bst(root_tree, 120); 18 | // root_tree = insert_bst(root_tree, 20); 19 | // root_tree = insert_bst(root_tree, 60); 20 | // root_tree = insert_bst(root_tree, 10); 21 | // 80, 22 | // 40, 120, 23 | // 20, 60, 24 | // 10, 25 | Ns1[] = { 26 | 320, 27 | 160, 480, 28 | 80, 240, 400, 560, 29 | 40, 120, 200, 280, 360, 440, 520, 600, 30 | 20, 60, 100, 140, 180, 220, 260, 300, 340, 380, 420, 460, 500, 540, 580, 620, 31 | 10, 30, 50, 70, 90, 110, 130, 150, 170, 190, 210, 230, 250, 270, 290, 310, 330, 350, 370, 390, 410, 430, 450, 470, 490, 510, 530, 550, 570, 590, 610, 630 32 | }, 33 | Ns2[] = { 34 | 80, 35 | 40, 120, 36 | 20, 60, 100, 140, 37 | 10, 30, 50, 70, 38 | 5 39 | }, 40 | Ns3[] = { 41 | 80, 42 | 40, 120, 43 | 20, 60, 44 | 10, 45 | }, 46 | Ns4[] = { 47 | 80, 48 | 40, 49 | 20 50 | }, 51 | Ns5[] = { 52 | 80, 53 | 120, 54 | 240 55 | }, 56 | Ns6[] = { 57 | 80, 58 | 20, 59 | 60 60 | }, 61 | Ns7[] = { 62 | 80, 63 | 120, 64 | 100 65 | }; 66 | //root_tree = array_insert_bst(root_tree, Ns3, 6); 67 | while(1) 68 | { 69 | printf( 70 | "1. Insert node \n" 71 | "2. Display Tree \n" 72 | "3. Traversal \n" 73 | "4. Search \n" 74 | "5. Minimun key \n" 75 | "6. Maximum key \n" 76 | "7. Height \n" 77 | "8. Clear Console \n" 78 | "99. Main Menu \n" 79 | "Enter Choice : \n" 80 | ); 81 | scanf("%d",&ch); 82 | printf("\n"); 83 | switch(ch) 84 | { 85 | case 1: 86 | printf("Enter value to insert : "); 87 | scanf("%d",&ch); 88 | root_tree = insert_bst(root_tree, ch); 89 | if(root_tree == NULL) 90 | printf("\nInsertion failed :("); 91 | else 92 | printf("\n%d Inserted Successfully :)", ch); 93 | break; 94 | 95 | case 2: 96 | print_bt(root_tree); 97 | pressEnterKey(); 98 | break; 99 | 100 | case 3: 101 | printf( 102 | "1. Pre Order Traversal \n" 103 | "2. In Order Traversal \n" 104 | "3. Post Order Traversal \n" 105 | "Enter Choice : \n" 106 | ); 107 | scanf("%d",&ch); 108 | traversal_tree(root_tree, ch); 109 | pressEnterKey(); 110 | break; 111 | 112 | case 4: 113 | printf("Enter Key to search :\n"); 114 | scanf("%d",&ch); 115 | temp_tree = search_bst(root_tree, ch); 116 | if(temp_tree == NULL) 117 | printf("\n%d Doesn't Exist in Tree :(", ch); 118 | else 119 | printf("\n%d Exists in Tree :)", ch); 120 | break; 121 | 122 | case 5: 123 | temp_tree = minimum_key_bst(root_tree); 124 | if(temp_tree == NULL) 125 | printf("Tree is Empty :("); 126 | else 127 | printf("%d is Smallest Key", temp_tree->key); 128 | break; 129 | 130 | case 6: 131 | temp_tree = maximum_key_bst(root_tree); 132 | if(temp_tree == NULL) 133 | printf("Tree is Empty :("); 134 | else 135 | printf("%d is Largest Key", temp_tree->key); 136 | break; 137 | 138 | case 7: 139 | printf("Tree's height is %d", height_tree(root_tree)); 140 | break; 141 | 142 | case 8: 143 | system("cls"); 144 | break; 145 | 146 | case 99: 147 | return; 148 | } 149 | printf("\n\n"); 150 | } 151 | } 152 | 153 | //void main() 154 | //{ 155 | // main_tree(); 156 | //} 157 | -------------------------------------------------------------------------------- /main_tree.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by WoLvErInE on 17-11-2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_MAIN_TREE_H 6 | #define DSAIMPLEMENTATION_MAIN_TREE_H 7 | 8 | void main_tree(); 9 | 10 | #endif //DSAIMPLEMENTATION_MAIN_TREE_H 11 | -------------------------------------------------------------------------------- /queue_ll.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Parth Soni on 11/15/2018. 3 | // 4 | 5 | #include "queue_ll.h" 6 | #include "linkedlist.h" 7 | #include 8 | #include 9 | 10 | queue_ll *new_queue_ll(){ 11 | linkedList *ll = newLinkedList(); 12 | queue_ll *q = malloc(sizeof(queue_ll)+ sizeof(ll)); 13 | q->size = 0; 14 | q->data = ll; 15 | return q; 16 | } 17 | 18 | void enqueue_queue_ll(queue_ll *q, int item){ 19 | insert_linkedList((q->data), item, 999); 20 | q->size++; 21 | } 22 | 23 | int dequeue_queue_ll(queue_ll *q){ 24 | if(q->size>0){ 25 | int item = q->data->head->next->data; 26 | q->data->head->next = q->data->head->next->next; 27 | q->size--; 28 | return item; 29 | } 30 | else 31 | return -1; 32 | } 33 | 34 | int front_queue_ll(queue_ll *q){ 35 | if(q->size>0){ 36 | int item = q->data->head->next->data; 37 | return item; 38 | } 39 | else 40 | return -1; 41 | } 42 | 43 | 44 | -------------------------------------------------------------------------------- /queue_ll.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Parth Soni on 11/15/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_QUEUE_LL_H 6 | #define DSAIMPLEMENTATION_QUEUE_LL_H 7 | 8 | #include "linkedlist.h" 9 | 10 | typedef struct queue_ll{ 11 | linkedList *data; 12 | int size; 13 | }queue_ll; 14 | 15 | queue_ll *new_queue_ll(); 16 | void enqueue_queue_ll(queue_ll* , int ); 17 | int dequeue_queue_ll(queue_ll*); 18 | int front_queue_ll(queue_ll*); 19 | 20 | #endif //DSAIMPLEMENTATION_QUEUE_LL_H 21 | -------------------------------------------------------------------------------- /sortnsearch.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 10/29/2018. 3 | // 4 | 5 | #include "sortnsearch.h" 6 | #include "arraylist.h" 7 | #include "linkedlist.h" 8 | 9 | 10 | //Type = 0 for ascending sort Type = 1 for descending sort 11 | void insertionSort_arrayList(arrayList *aList, int type){ 12 | int size = aList->size; 13 | int current = 1; 14 | while(current < size){ 15 | for(int i = 0; idata)[i]>(aList->data)[current] && type == 0){ 17 | int temp = (aList->data)[current]; 18 | (aList->data)[current] = (aList->data)[i]; 19 | (aList->data)[i] = temp; 20 | } 21 | else if((aList->data)[i]<(aList->data)[current] && type == 1){ 22 | int temp = (aList->data)[current]; 23 | (aList->data)[current] = (aList->data)[i]; 24 | (aList->data)[i] = temp; 25 | } 26 | } 27 | current++; 28 | } 29 | } 30 | 31 | int linearSearch_arrayList(arrayList aList, int item){ 32 | for(int i = 0; i 9 | #include "queue_ll.h" 10 | 11 | void stackOptions(); 12 | void queueOptions(); 13 | 14 | int sqtype = 0; 15 | char *sq1 = "Stack"; 16 | char *sq2 = "Queue"; 17 | 18 | void stackQueue(){ 19 | printf("\nWhich data structure would you like to work on ?\n" 20 | "1. Stack\n" 21 | "2. Queue\n" 22 | "99. Return to main menu\n" 23 | "Enter your option: "); 24 | int x; scanf("%d", &x); 25 | switch (x){ 26 | case 1: 27 | stackOptions(); 28 | break; 29 | case 2: 30 | queueOptions(); 31 | break; 32 | case 99: 33 | main(); 34 | break; 35 | default: 36 | printf("Invalid entry. Going to main menu"); 37 | main(); 38 | break; 39 | } 40 | } 41 | 42 | void stackOptions(){ 43 | stack_al *stack = newStack_al(10); 44 | beginStack: 45 | printf("\n" 46 | "Enter your choice from options below\n" 47 | "1. Push items in stack\n" 48 | "2. Pop items from stack\n" 49 | "3. Seek the top item in the stack\n" 50 | "4. Back to main menu\n" 51 | "Enter your choice: " 52 | ); 53 | 54 | int c1; scanf("%d", &c1); 55 | switch(c1){ 56 | case 1: 57 | printf("\nEnter the element to push: "); 58 | int x; scanf("%d", &x); 59 | push_stack_al(stack, x); 60 | goto beginStack; 61 | case 2: 62 | printf("\nPopped item from stack: "); 63 | int item = pop_stack_al(stack); 64 | if(item == -1){ 65 | printf("\nStack underflow!\n"); 66 | }else { 67 | printf("%d\n",item); 68 | 69 | } goto beginStack; 70 | case 3: 71 | printf("\nPopped item from stack: "); 72 | int itm = seek_stack_al(stack); 73 | if(itm == -1){ 74 | printf("\nStack underflow!\n"); 75 | }else { 76 | printf("%d\n",itm); 77 | 78 | } 79 | goto beginStack; 80 | case 4: 81 | stackQueue(); 82 | break; 83 | default: 84 | printf("invalid entry"); 85 | goto beginStack; 86 | } 87 | } 88 | 89 | void queueOptions(){ 90 | queue_ll *queue = new_queue_ll(); 91 | beginQueue: 92 | printf("\n" 93 | "Enter your choice from options below\n" 94 | "1. Enqueue items in queue\n" 95 | "2. Dequeue items from queue\n" 96 | "3. Front of the queue\n" 97 | "4. Back to main menu\n" 98 | "Enter your choice: " 99 | ); 100 | 101 | int c1; scanf("%d", &c1); 102 | switch(c1){ 103 | case 1: 104 | printf("Enter element to enqueue: "); 105 | int x; scanf("%d", &x); 106 | enqueue_queue_ll(queue, x); 107 | goto beginQueue; 108 | case 2: 109 | printf("Dequeue item: "); 110 | int item = dequeue_queue_ll(queue); 111 | if(item == -1){ 112 | printf("Queue is empty\n"); 113 | }else 114 | printf("%d\n", item); 115 | goto beginQueue; 116 | case 3: 117 | printf("Front item: "); 118 | int itm = front_queue_ll(queue); 119 | if(itm == -1){ 120 | printf("Queue is empty\n"); 121 | }else 122 | printf("%d\n", itm); 123 | goto beginQueue; 124 | case 4: 125 | stackQueue(); 126 | break; 127 | default: 128 | printf("invalid entry"); 129 | goto beginQueue; 130 | } 131 | 132 | } 133 | -------------------------------------------------------------------------------- /stackQueue.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 11/14/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_STACKQUEUE_H 6 | #define DSAIMPLEMENTATION_STACKQUEUE_H 7 | 8 | void stackQueue(); 9 | 10 | #endif //DSAIMPLEMENTATION_STACKQUEUE_H 11 | -------------------------------------------------------------------------------- /stack_al.c: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 11/14/2018. 3 | // 4 | 5 | #include "stack_al.h" 6 | #include "arraylist.h" 7 | #include 8 | #include 9 | 10 | stack_al *newStack_al(int n){ 11 | arrayList *data = newArrayList(n); 12 | stack_al *stack = malloc(sizeof(stack_al) + sizeof(*data)); 13 | stack->size = n; 14 | stack->data = *data; 15 | stack->currentSize = 0; 16 | return stack; 17 | } 18 | 19 | void push_stack_al(stack_al *stack, int item){ 20 | if(stack->currentSize < stack->size) { 21 | insert_arrayList(&(stack->data), item, stack->currentSize); 22 | stack->currentSize++; 23 | } 24 | else{ 25 | printf("Stack Overflow!"); 26 | } 27 | } 28 | 29 | int pop_stack_al(stack_al *stack) { 30 | if ((stack->currentSize) > 0) { 31 | int item = (stack->data).data[(stack->data).size - 1]; 32 | (stack->currentSize)--; 33 | (stack->data).size--; 34 | return item; 35 | } 36 | else 37 | return -1; 38 | } 39 | 40 | int seek_stack_al(stack_al *stack){ 41 | if((stack->currentSize) < 0) return -1; 42 | else return (stack->data).data[(stack->data).size - 1]; 43 | } 44 | 45 | -------------------------------------------------------------------------------- /stack_al.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Akshay on 11/14/2018. 3 | // 4 | 5 | #ifndef DSAIMPLEMENTATION_STACK_AL_H 6 | #define DSAIMPLEMENTATION_STACK_AL_H 7 | 8 | #include "arraylist.h" 9 | 10 | typedef struct stack_al{ 11 | int size; 12 | int currentSize; 13 | arrayList data; 14 | }stack_al; 15 | 16 | stack_al *newStack_al(int); 17 | void push_stack_al(struct stack_al*, int); 18 | int pop_stack_al(struct stack_al*); 19 | int seek_stack_al(struct stack_al*); 20 | 21 | #endif //DSAIMPLEMENTATION_STACK_AL_H 22 | --------------------------------------------------------------------------------