added writing capacilities to files and made the appropriate changes to the filedemo.c file

This commit is contained in:
Odweta
2023-12-23 18:28:58 +01:00
parent b9c93116bc
commit 0c68944a1d
9 changed files with 172 additions and 96 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ listPush(list_t* l, dataType_e type, void* element) {
vectorPush((vector_t *)l->data, newVec);
break;
default:
perror("specify a valid vector type\n");
fprintf(stderr, "specify a valid vector type\n");
exit(EXIT_FAILURE);
}