-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_printf_no_conversion_load.c
62 lines (57 loc) · 1.7 KB
/
ft_printf_no_conversion_load.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_printf_no_conversion_load.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: abenamar <abenamar@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/01 19:43:15 by abenamar #+# #+# */
/* Updated: 2023/05/01 17:16:21 by abenamar ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf_test.h"
static void load(void)
{
int nb;
/* 1 */
nb = ft_printf("" EOL);
printf("%d" EOL, nb);
/* 2 */
nb = printf("" EOL);
printf("%d" EOL, nb);
/* 3 */
nb = ft_printf("\t" EOL);
printf("%d" EOL, nb);
/* 4 */
nb = printf("\t" EOL);
printf("%d" EOL, nb);
/* 5 */
nb = ft_printf("ø" EOL);
printf("%d" EOL, nb);
/* 6 */
nb = printf("ø" EOL);
printf("%d" EOL, nb);
/* 7 */
nb = ft_printf("Hello World!" EOL);
printf("%d" EOL, nb);
/* 8 */
nb = printf("Hello World!" EOL);
printf("%d" EOL, nb);
/* 9 */
nb = ft_printf("123" EOL);
printf("%d" EOL, nb);
/* 10 */
nb = printf("123" EOL);
printf("%d" EOL, nb);
/* 11 */
nb = ft_printf("%1r %23w %100y" EOL);
printf("%d" EOL, nb);
/* 12 */
nb = printf("%1r %23w %100y" EOL);
printf("%d" EOL, nb);
}
int main(void)
{
load();
return (0);
}