-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_.c
executable file
·23 lines (20 loc) · 1.17 KB
/
test_.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test_.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: snara <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/01/13 18:56:23 by snara #+# #+# */
/* Updated: 2021/01/21 05:06:28 by snara ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
#define ARG FMT,INT_MIN,INT_MAX,UINT_MAX,31,63,-13,12,INT_MIN,"",'%'
#define FMT "\n%s|%d|%i|hello, world|%12.5x|%-4.3X|%06.3o|%*.*u|%-15.p|%c|\n"
int main(void)
{
printf("printf : %d\n", printf(FMT, ARG));
ft_printf("ft_printf: %d\n", ft_printf(FMT, ARG));
return (0);
}