Add index in t_stack + indexer function to add it

This commit is contained in:
2026-01-14 11:15:31 +01:00
parent 82111f59ad
commit 52220b5b49
9 changed files with 91 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
typedef struct s_stack
{
int value;
long long index;
struct s_stack *next;
struct s_stack *previous;
} t_stack;