gitignore + srcs modifs
This commit is contained in:
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
includes/fillit\.h\.gch
|
||||||
|
|
||||||
|
a\.out
|
||||||
|
|
||||||
|
*.out
|
||||||
|
|
||||||
|
objs/
|
||||||
|
|
||||||
|
fillit
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/03/01 13:29:05 by vmanzoni #+# #+# */
|
/* Created: 2019/03/01 13:29:05 by vmanzoni #+# #+# */
|
||||||
/* Updated: 2019/04/14 14:16:01 by vmanzoni ### ########.fr */
|
/* Updated: 2019/04/14 14:25:44 by vmanzoni ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -38,8 +38,8 @@ int ft_file_errors(char *file)
|
|||||||
if (*file == '\n')
|
if (*file == '\n')
|
||||||
line_nbr++;
|
line_nbr++;
|
||||||
file++;
|
file++;
|
||||||
if (*file == '\n')
|
//if (*file == '\n')
|
||||||
return (1);
|
//return (1);
|
||||||
}
|
}
|
||||||
if (line_nbr < 4 || line_nbr > 129)
|
if (line_nbr < 4 || line_nbr > 129)
|
||||||
return (1);
|
return (1);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/02/12 13:20:48 by vmanzoni #+# #+# */
|
/* Created: 2019/02/12 13:20:48 by vmanzoni #+# #+# */
|
||||||
/* Updated: 2019/04/14 14:17:22 by vmanzoni ### ########.fr */
|
/* Updated: 2019/04/14 14:27:31 by vmanzoni ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -29,9 +29,9 @@ int main(int argc, char **argv)
|
|||||||
Transform tetriminos with letters
|
Transform tetriminos with letters
|
||||||
Print result
|
Print result
|
||||||
*/
|
*/
|
||||||
|
print_test(input);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ft_display_error("Error: Please submit a file.\n", 2);
|
ft_display_error("Error: Please submit a file.\n", 2);
|
||||||
return (0);
|
return (0);
|
||||||
print_test(input);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
/* By: vmanzoni <vmanzoni@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2019/03/01 13:35:48 by vmanzoni #+# #+# */
|
/* Created: 2019/03/01 13:35:48 by vmanzoni #+# #+# */
|
||||||
/* Updated: 2019/04/14 12:13:16 by vmanzoni ### ########.fr */
|
/* Updated: 2019/04/14 14:27:47 by vmanzoni ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -22,4 +22,5 @@ void ft_print_fillit()
|
|||||||
void print_test(char *test)
|
void print_test(char *test)
|
||||||
{
|
{
|
||||||
write(1, test, strlen(test));
|
write(1, test, strlen(test));
|
||||||
|
write(1, "\n", 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user