-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauteur
65 lines (60 loc) · 2.22 KB
/
auteur
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
63
64
65
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* auteur :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: elel-yak <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/05 15:30:45 by elel-yak #+# #+# */
/* Updated: 2022/10/25 20:46:17 by elel-yak ### ########.fr */
/* */
/* ************************************************************************** */
by pixel_peeper// void ft_del(void *content)
// {
// printf("%s\n", content);
// }
// int main()
// {
// t_list *head;
// t_list *second;
// t_list *third;
// t_list *fourth;
// t_list *ptr;
// head = (t_list *)malloc(sizeof(t_list));
// second = (t_list *)malloc(sizeof(t_list));
// third = (t_list *)malloc(sizeof(t_list));
// fourth = (t_list *)malloc(sizeof(t_list));
// head->content = "one";
// head->next = second;
// second->content = "two";
// second->next = third;
// third->content = "three";
// third->next = fourth;
// fourth->content = "last";
// fourth->next = NULL;
// ft_lstclear(&head, ft_del);
// }// void ft_del(void *content)
// {
// printf("%s\n", content);
// }
// int main()
// {
// t_list *head;
// t_list *second;
// t_list *third;
// t_list *fourth;
// t_list *ptr;
// head = (t_list *)malloc(sizeof(t_list));
// second = (t_list *)malloc(sizeof(t_list));
// third = (t_list *)malloc(sizeof(t_list));
// fourth = (t_list *)malloc(sizeof(t_list));
// head->content = "one";
// head->next = second;
// second->content = "two";
// second->next = third;
// third->content = "three";
// third->next = fourth;
// fourth->content = "last";
// fourth->next = NULL;
// ft_lstclear(&head, ft_del);
// }