Good morning.
I'm coding in C for a school project and i keep facing this error in the functions.h where i type
#ifndef FUNCTIONS_H_INCLUDED
#define FUNCTIONS_H_INCLUDED
#define DIMID 4
#define COO 2
#define DIM 20
FILE *data1;
FILE *data2;
FILE *out;
It always gives the error message:
"error: FILE does not name a type"
These Files are used throughout the code but as an example I show 2 bellow
void comandp(cellphone *tel1,read *read,FILE *out);
void infected(cellphone *head,read *read,FILE *out);
Where it returns the error message:
"Error: 'File' has not been declared"
Does anyone have any clue as to what I'm doing wrong and how to fix this issue?
Thank you so much