I have created my own structure using typedef but when I go to store values in a created one, I am going incompatible type errors
When I try to compile this I get error: incompatible types in assignment.Code:typedef struct{
FILE *fp;
char name[50];
char line[100];
int timestart, timetotal;
} process;
void newprocess(char n[]){
process *new = malloc(sizeof(process));
new->name = n;