From 66ed3290deb97057875aa7372741595e3fa290a6 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 29 Oct 2019 05:20:35 +0100 Subject: String conversion refactor, malloc protection --- main.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 2b04c77..c869075 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/28 04:25:09 by cacharle #+# #+# */ -/* Updated: 2019/10/29 00:04:49 by cacharle ### ########.fr */ +/* Updated: 2019/10/29 05:18:05 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -55,9 +55,11 @@ int main() ft_printf("overwrite neg |%*-1d|\n", 0, 43); printf("overwrite neg |%*-1d|\n", 0, 43); - /* ft_printf("pointer field width |%15p|\n", &test); */ - /* printf("pointer field width |%15p|\n", &test); */ - /* ft_printf("pointer precision |%.15p|\n", &test); */ - /* printf("pointer precision |%.15p|\n", &test); */ + ft_printf("pointer field width |%15p|\n", &test); + printf("pointer field width |%15p|\n", &test); + ft_printf("pointer precision |%.15p|\n", &test); + printf("pointer precision |%.15p|\n", &test); + ft_printf("pointer precision/width |%20.15p|\n", &test); + printf("pointer precision/width |%20.15p|\n", &test); return 0; } -- cgit