From 43f32a485a8e9092b37a576402e8b94accea0b42 Mon Sep 17 00:00:00 2001 From: klmp200 Date: Sat, 10 Dec 2016 02:28:10 +0100 Subject: [PATCH] Add true makefile + lists --- CellElemFunc.c | 138 ------------------------------------------ CellElemFunc.o | Bin 8752 -> 0 bytes Exe | Bin 12184 -> 0 bytes LibList/CellElement.c | 122 +++++++++++++++++++++++++++++++++++-- LibList/CellElement.h | 12 +++- LibList/Makefile | 1 - Makefile | 1 - main.c | 18 +++++- 8 files changed, 141 insertions(+), 151 deletions(-) delete mode 100644 CellElemFunc.c delete mode 100644 CellElemFunc.o delete mode 100755 Exe diff --git a/CellElemFunc.c b/CellElemFunc.c deleted file mode 100644 index 39105d0..0000000 --- a/CellElemFunc.c +++ /dev/null @@ -1,138 +0,0 @@ -/*** ---- CellElemFunc --- ----Created by : Naej Doree --- -***/ - -#include -#include -#include - -int main(int argc, char **argv){ - cellElement * tree = NULL; - tree = CreateCellElem(); - tree->colIndex = 1; - AddNextRow(tree); - tree->nextRow->colIndex = 2; - AddNextCol(tree); - tree->nextCol->colIndex = 3; - recursivePrint(tree); - removeNextRow(tree); - removeNextCol(tree); - - recursivePrint(tree); - - - return 0; - -} - -cellElement * CreateCellElem(){ - cellElement * elem = NULL; - elem = (cellElement*) malloc(sizeof(cellElement)); - - if (elem == NULL){ - return NULL; - } - - printf("---Created cellElement---\n"); - - elem->value = true; - elem->nextCol = NULL; - elem->nextRow = NULL; - - - return elem; -} - -void freeCellElem(cellElement * elem){ - free(elem); - elem = NULL; -} - -int AddNextCol(cellElement* tree){ - - cellElement * elem = NULL; - elem = (cellElement*) malloc(sizeof(cellElement)); - - if (elem == NULL){ - return -1; - } - - printf("---insertNextCol---\n"); - - elem->value = true; - elem->nextCol = NULL; - elem->nextRow = NULL; - - if (tree->nextCol == NULL){ - tree->nextCol = elem; - }else{ - return -2; - } - - return 1; -} - - -int AddNextRow(cellElement* tree){ - - cellElement * elem = NULL; - elem = (cellElement*) malloc(sizeof(cellElement)); - - if (elem == NULL){ - return -1; - } - - printf("---insertNextRow---\n"); - - elem->value = true; - elem->nextRow = NULL; - elem->nextRow = NULL; - if (tree->nextRow == NULL){ - tree->nextRow = elem; - }else{ - return -2; - } - return 1; -} - -void removeNextCol(cellElement* tree){ - printf("---removeNextCol---\n"); - - if (tree->nextCol != NULL){ - cellElement * elem = tree->nextCol; - free(elem); - elem = NULL; - tree->nextCol = NULL; - - } - -} - -void removeNextRow(cellElement* tree){ - printf("---removeNextRow---\n"); - - if (tree->nextRow != NULL){ - cellElement* elem = tree->nextRow; - free(elem); - elem =NULL; - tree->nextRow = NULL; - - } - -} -void recursivePrint(cellElement * tree){ - if (tree != NULL){ - printf("Elem : x: %d y: %d \n",tree->colIndex,tree->rowIndex); - if (tree->nextCol != NULL){ - recursivePrint(tree->nextCol); - } - if (tree->nextRow != NULL){ - recursivePrint(tree->nextRow); - } - if (tree->nextCol == NULL && tree->nextCol == NULL){ - printf("leaf\n"); - } - - } -} \ No newline at end of file diff --git a/CellElemFunc.o b/CellElemFunc.o deleted file mode 100644 index 96608af0cbafdb81c8bf19173a8df0fe65391999..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8752 zcmb`M3tWs@8^GThDN3cVA$C}a)aXL!W|C?m3K3yzswruj+Gce5NUL1RWu=5IL**m4TsL$hEM*ni^_}z1bH>}z?tb6*`_Aw8zUMsu=Q+>woXdNgNp|=4 z(A3aiNYP+im=6-64D-VDLtDr;g-l<@h?y-)uNS30<)={>CRemJdEr3TRpJE-_g7C7MmV{_A|Z zu@#g4GptlG(tOx9uoenKY{d%P?Wvj~wG!pi={jInvA?<}T2ejkc0id~Sy{QoO2i6D zC_h9ZmAXqMQ4*N~Q3f3mGPxvHF_z4bt zvrs-ik*#_%Qi(WBeRG(sg@?|l<%GPX?5e5RuBPRUZBDJ;8%G!A1{7&WwrW*Yj?FN< z_`>jt#LIQALC<4@6}yAWoV(o_60k`iUTQu0c-r(CgB;>4o1WY&Ez5O%wfN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;i zR#h(|tyqavEKs0tJw^~JR)`rvuw2dvVxv_8s|}R|F9{EfkcCAf8@4SD4vv+?Av4?= zP^?%MF2P+tFlmHLLb{-Mj36XB3jZ6z2xQR;i2(hqWF=RKLn5J*WKm#PtT;*nqx;`0 zKI)3skh|vCn-HH+p?~6qZKP77^FVaqttmtYx75H-6Xbb>zb$ZI@&hutKMe;Cw;i>M zLK=XEj&BJ*Y4iWIzYWCa?o}L$^k0PqPNC!D?>&~0fq|_JT(9#e$8`S*$iA!j%YYA| z{XJ9;@%-U6B4Nnj^q~63~Y9rLhhW=cJ+oT`idx25gjM)bLO{fmkFqz$` ze^>MOB_ytdKzRP}vw-v`^NP1AeeK~cLQ{NZn8T_{eWuc3$3y4N_QQ*XN*XBfZ&LV{ VLdVB@s;l_p;r^44^xQ(n|2O)IG(!LY diff --git a/Exe b/Exe deleted file mode 100755 index c2c0af90e4d800864c326702d4afaa6a9533fa41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12184 zcmeHNe{dAneSdp*I^9X)bdmrIu+7?li+|`Ofly_z%;~33u>cthJ9U8NbhnZYPIvO% z9=~FyxFT*;f{h#7!z48IxM{{yJ2PaGxN0FF2F5a-W{PK;gqb=m&cq&J>;w|*%GgHz zeBZuzx3@Yup6N{bPv6b$_xJaG-;aI!zHj%>JGwg^io#@Zu=^QN7hOTlGOvtXxPy~| z*TlRm$d)jbxxp#IKgcBnO-#Zm;aWnE&~pO1@NaUMj3!5rBNE~3nTX>16jlYtey-Q=HiA6UPM*Ocu?P!#iA{Amu5{KEquJp6Ru zM?c>B=H(y!W%PGDUU{jCS4Z};KA>Ny)IqDVfM)3|e2TM>{;jj{SAnnMZ!b52QOFNN zKSiip8rg8hNVDNoEMfGsp>RB&j4(|jv6eQ%DMK3y#}ceRrR!i13?&nSt+5BXyIR|{ z6@e82s@)-egi-&{k1;u(nT0VgN!r1qa;1D5hcq|jTp`Akg>Su|s{PwY%!={1_PuK1 ziz&_ZmRtBVp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+nRxP)`N{gPSiugo(ID6g^>8_DWtv2PX&*IhOP8_Al5y}g|S z;sLWx4vYvw+DljgzD #include #include + +cellElement * CreateCellElem(){ + cellElement * elem = NULL; + elem = (cellElement*) malloc(sizeof(cellElement)); + + if (elem == NULL){ + return NULL; + } + + printf("---Created cellElement---\n"); + + elem->value = true; + elem->nextCol = NULL; + elem->nextRow = NULL; + + + return elem; +} + +void freeCellElem(cellElement * elem){ + free(elem); + elem = NULL; +} + +int AddNextCol(cellElement* tree){ + + cellElement * elem = NULL; + elem = (cellElement*) malloc(sizeof(cellElement)); + + if (elem == NULL){ + return -1; + } + + printf("---insertNextCol---\n"); + + elem->value = true; + elem->nextCol = NULL; + elem->nextRow = NULL; + + if (tree->nextCol == NULL){ + tree->nextCol = elem; + }else{ + return -2; + } + + return 1; +} + + +int AddNextRow(cellElement* tree){ + + cellElement * elem = NULL; + elem = (cellElement*) malloc(sizeof(cellElement)); + + if (elem == NULL){ + return -1; + } + + printf("---insertNextRow---\n"); + + elem->value = true; + elem->nextRow = NULL; + elem->nextRow = NULL; + if (tree->nextRow == NULL){ + tree->nextRow = elem; + }else{ + return -2; + } + return 1; +} + +void removeNextCol(cellElement* tree){ + printf("---removeNextCol---\n"); + + if (tree->nextCol != NULL){ + cellElement * elem = tree->nextCol; + free(elem); + elem = NULL; + tree->nextCol = NULL; + + } + +} + +void removeNextRow(cellElement* tree){ + printf("---removeNextRow---\n"); + + if (tree->nextRow != NULL){ + cellElement* elem = tree->nextRow; + free(elem); + elem =NULL; + tree->nextRow = NULL; + + } + +} +void recursivePrint(cellElement * tree){ + if (tree != NULL){ + printf("Elem : x: %d y: %d \n",tree->colIndex,tree->rowIndex); + if (tree->nextCol != NULL){ + recursivePrint(tree->nextCol); + } + if (tree->nextRow != NULL){ + recursivePrint(tree->nextRow); + } + if (tree->nextCol == NULL && tree->nextCol == NULL){ + printf("leaf\n"); + } + + } +} + void FreeCellElement(cellElement* element) { if (element != NULL){ free(element); diff --git a/LibList/CellElement.h b/LibList/CellElement.h index f0ae81f..51597bd 100644 --- a/LibList/CellElement.h +++ b/LibList/CellElement.h @@ -7,11 +7,15 @@ *@false : 0 */ typedef enum Bool{ +<<<<<<< a99b5938634fe0e05047ed6418191cdbc8cb683a:LibList/CellElement.h <<<<<<< 0996ce834deca07fbf19d0b5de5f3c8b568185e6:LibList/CellElement.h ======= >>>>>>> tests et complètion des fx:CellElement.h +======= + +>>>>>>> Add true makefile + lists:LibList/CellElement.h true = 1, false = 0 @@ -31,7 +35,7 @@ typedef enum Bool{ * */ struct cellElement { - + int colIndex; int rowIndex; @@ -54,8 +58,12 @@ void FreeCellElement(cellElement* element); ======= void removeNextCol(cellElement* list); void removeNextRow(cellElement* list); - void recursivePrint(cellElement * tree); >>>>>>> Added funcs about CellElement:CellElement.h +<<<<<<< a99b5938634fe0e05047ed6418191cdbc8cb683a:LibList/CellElement.h +======= +void FreeCellElement(cellElement* element); + +>>>>>>> Add true makefile + lists:LibList/CellElement.h #endif diff --git a/LibList/Makefile b/LibList/Makefile index ac206d5..5f92df2 100644 --- a/LibList/Makefile +++ b/LibList/Makefile @@ -14,7 +14,6 @@ LIBSOURCEOFILE=$(LIBSOURCE:=.o) #Generating the library binary $(LIBTARGET): $(LIBSOURCEOFILE) @echo "\n Generating the library binary" - mkdir -p ../Libs $(CC) $(CFLAGS) -shared $(LIBSOURCEOFILE) -o ../Libs/$(LIBTARGET) #Generating object files diff --git a/Makefile b/Makefile index 6c9e421..99edc06 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ DEPENDENCENAMELIST=List all: $(TARGET) - #Generating the main.exe $(TARGET): $(SOURCEOFILE) $(DEPENDENCELIST) lib @echo "\n Generating the " $(TARGET) " binary" diff --git a/main.c b/main.c index 32d1521..b1efa8a 100644 --- a/main.c +++ b/main.c @@ -8,9 +8,21 @@ #include #include +#include + +int main(int argc, char **argv){ + cellElement * tree = NULL; + tree = CreateCellElem(); + tree->colIndex = 1; + AddNextRow(tree); + tree->nextRow->colIndex = 2; + AddNextCol(tree); + tree->nextCol->colIndex = 3; + recursivePrint(tree); + removeNextRow(tree); + removeNextCol(tree); + recursivePrint(tree); -int main(int argc, char *argv[]) -{ - printf("Hello World\n"); return 0; + }