Initial commit

This commit is contained in:
2021-10-01 20:24:05 +02:00
commit 860c025165
194 changed files with 4846 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#include <stdio.h>
int main(void)
{
float y[3] = {3.14, 5.55, 9.56};
int x[3] = {99, 101, 105};
FILE *fp;
if ( (fp = fopen("test.bin", "wb")) == 0 )
{
fprintf(stderr, "Kan inte läsa filen\n");
return 1;
}
fwrite(&y, sizeof(y), 1, fp);
fwrite(&x, sizeof(x), 1, fp);
fclose(fp);
return 0;
}