New files

This commit is contained in:
Manzovince
2019-04-12 22:28:01 +02:00
parent ecd4b33a06
commit f7790d1088
3 changed files with 6 additions and 61 deletions

View File

@@ -6,26 +6,11 @@
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/01 13:35:48 by vmanzoni #+# #+# */
/* Updated: 2019/03/01 13:37:45 by vmanzoni ### ########.fr */
/* Updated: 2019/04/12 22:26:27 by vmanzoni ### ########.fr */
/* */
/* ************************************************************************** */
void ft_print_fillit(short tetri_nb, char tetri[tetri_nb][16])
void ft_print_fillit(/*args*/)
{
short count;
short i;
count = 0;
while (count < tetri_nb)
{
i = 0;
while (i < 16)
{
write(1, &tetri[count][i], 1);
if (i++ % 4 == 3)
write(1, "\n", 1);
}
write(1, "\n", 1);
++count;
}
}