So i have 3 files. main.c, test.c and test.h
main.c contains:
test.cCode:#include "test.h"
#include <stdio.h>
and code
test.hCode:#include "test.h"
and code
How would i build this???Code:typedef struct {
int test1;
int test2;
int test3;
} test;
i tried gcc -o main.c test.c test.h
but i get a compiler error