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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -