error: field ‘start’ has incomplete type

求教:error: field ‘start’ has incomplete type

C/C++ code


#include <stdio.h>
#include <time.h>
struct A
{
    struct timeval start;
};
int main(int argc, char **argv)
{
    printf("hello world\n");
    return 0;
}


error: field ‘start’ has incomplete type


#include <sys/time.h>

error: field ‘start’ has incomplete type

相关文章:

你感兴趣的文章:

标签云: