aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-13 09:30:24 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-13 09:30:24 +0100
commit80f5c6a1cef114cd5006431149506bb5d87403b6 (patch)
tree8462dbd3c0421755b84892a69102ecaef2c94fea /main.c
parent3f2ef05278d42233f0a9ee9652e152824a7103e4 (diff)
downloadft_printf-80f5c6a1cef114cd5006431149506bb5d87403b6.tar.gz
ft_printf-80f5c6a1cef114cd5006431149506bb5d87403b6.tar.bz2
ft_printf-80f5c6a1cef114cd5006431149506bb5d87403b6.zip
Removed double, normed
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/main.c b/main.c
index bb0be59..e6e0031 100644
--- a/main.c
+++ b/main.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/28 04:25:09 by cacharle #+# #+# */
-/* Updated: 2019/11/13 08:50:26 by cacharle ### ########.fr */
+/* Updated: 2019/11/13 09:27:58 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -72,17 +72,13 @@ int main()
ft_printf("left adjusted |%*d|\n", -5, 43);
printf("left adjusted |%*d|\n", -5, 43);
- ft_printf("overwrite |%*3d|\n", 5, 43);
- printf("overwrite |%*3d|\n", 5, 43);
- ft_printf("overwrite neg |%*-1d|\n", 0, 43);
- printf("overwrite neg |%*-1d|\n", 0, 43);
+ /* ft_printf("overwrite |%*3d|\n", 5, 43); */
+ /* printf("overwrite |%*3d|\n", 5, 43); */
+ /* 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 precision/width |%20.15p|\n", &test);
- printf("pointer precision/width |%20.15p|\n", &test);
ft_printf("bonjour%n", &test);
printf("%d\n", test);