1
0
mirror of https://gitlab.com/klmp200/LO27.git synced 2024-11-05 09:28:04 +00:00
LO27/main.c
2016-12-13 17:28:13 +01:00

50 lines
1021 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 = CreateMatrix();
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;
}