1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-09-28 22:08:14 +00:00
LO27/main.c
2016-12-11 03:25:21 +01:00

38 lines
803 B
C

/*********************************************************************************
* File Name : main.c
* Created By : klmp200
* Creation Date : [2016-12-10 01:06]
* Last Modified : [2016-12-10 01:07]
* Description :
**********************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <CellElement.h>
#include <list.h>
int main(int argc, char **argv){
cellElement * tree = NULL;
tree = CreateCellElem();
SetPositionIndex(tree,1,1);
AddNextRow(tree);
SetPositionIndex(tree->nextRow,1,2);
AddNextCol(tree);
SetPositionIndex(tree->nextCol,1,3);
recursivePrint(tree);
removeNextRow(tree);
removeNextCol(tree);
recursivePrint(tree);
return 0;
}