c - storage size of 'start' isn't known -
i have message error: storage size of 'start' isn't known
when compile program. error here:
struct _timeb start, finish;
i make header file when i've put declarations , prototypes
#include <stdio.h> #include <stdlib.h> #include <sys/timeb.h> #include <time.h>
in .c file, put
#include "image.h" #include <math.h>
this indicates description of mentioned struct has not yet been encountered, , trying create variable of type compiler doesn't yet know about. missing header:
#include <sys/timeb.h>
Comments
Post a Comment