1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-07-01 13:08:02 +00:00
LO27/main.c

29 lines
759 B
C
Raw Normal View History

2016-12-10 01:28:10 +00:00
/*********************************************************************************
* 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>
2016-12-10 01:28:10 +00:00
#include <CellElement.h>
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);
2016-12-10 01:28:10 +00:00
return 0;
2016-12-10 01:28:10 +00:00
2016-12-10 01:28:10 +00:00
}