New files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user