This repository has been archived on 2026-05-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
prog-103-p-04-2030/HolidayTrip/Proficiencies/animals/vector.h
T
2026-02-13 16:12:39 +01:00

18 lines
365 B
C

#ifndef VECTOR_H
#define VECTOR_H
#include <stdio.h>
struct vector
{
struct animal **animal;
size_t size;
size_t capacity;
};
struct vector *vector_init(size_t n);
struct vector *vector_resize(struct vector *v, size_t new_capacity);
struct vector *vector_append(struct vector *v, struct animal *animal);
void vector_destroy(struct vector *v);
#endif