This commit is contained in:
bronku 2025-10-14 16:35:41 +02:00
parent 2b222dda0b
commit 3b1db93d74
5 changed files with 126 additions and 72 deletions

View file

@ -43,3 +43,11 @@ static inline int read_record(FILE* stream, record* out)
}
return -2;
}
static inline void random_record(record* out)
{
for (int i = 0; i < 5; i++) {
out->a[i] = rand();
}
out->x = rand();
}