added ws202425 courses

This commit is contained in:
2024-11-14 13:11:04 +01:00
parent 800282c2e8
commit beb31897b1
461 changed files with 20368 additions and 0 deletions
@@ -0,0 +1,22 @@
#ifndef STACK_H
#define STACK_H
#include <stddef.h>
typedef struct stack{
int size;
char* array;
int length;
} stack_t;
stack_t* stack_create(size_t size);
void stack_delete(stack_t* stack);
size_t stack_length(stack_t* stack);
int stack_push(stack_t* stack,char c);
int stack_pop(stack_t* stack, char* dest);
#endif