/********************************************************************************* * File Name : main.c * Created By : klmp200 * Creation Date : [2016-12-10 01:06] * Last Modified : [2016-12-10 01:07] * Description : **********************************************************************************/ #include #include #include #include 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); SetNextRow(tree->nextCol,tree->nextRow); recursivePrint(tree); removeNextRow(tree); removeNextCol(tree); recursivePrint(tree); return 0; }