1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-09-28 22:08:14 +00:00
LO27/main.c

50 lines
1005 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 <Matrix.h>
int main(int argc, char **argv){
Matrix matrix;
int Rule = 170;
int N = 1;
applyRules (matrix,Rule,N);
/*
Matrix matrix;
cellElement * tree = NULL;
List * cols = NULL;
List * rows = NULL;
cols = CreateList();
rows = CreateList();
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;
}