split into modules

This commit is contained in:
2026-06-14 03:06:47 +02:00
parent bd700e78b2
commit 840f5f5424
4 changed files with 100 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#include "stringchicken.h"
#include <stdio.h>
#include <string.h>
int main() {
char myString[100];
char ch;
FILE *fptr = fopen("./kvtest.txt", "r");
struct stringchicken *mystringarray = create_string_chicken();
while (fgets(myString, 100, fptr)) {
push_SC(myString, mystringarray);
}
printchicken(mystringarray);
int mylength = strnlen(myString, 100);
fclose(fptr);
}