ronanboiteau / Fir-Tree

{EPITECH.} An ASCII art resizable fir tree generator in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fir Tree

{EPITECH.} first year project.

An ASCII art resizable fir tree generator in C.

Fir tree

Requirements

Get started

Compilation

Navigate to the root of the repository from your Terminal and run the following command to build the tree executable file:

gcc main.c tree.c -o tree

Running Fir Tree

Run the executable file you just compiled to print out your fir tree:

./tree

How to choose my tree's size?

Edit the main.c file with your favorite editor:

void	tree(int size);

int	main(void)
{
  tree(3); // Change the size here
}

About

{EPITECH.} An ASCII art resizable fir tree generator in C.


Languages

Language:C 100.0%