Hi...
i am working on socket network programming ,and part of code is to open file from server and download it , but i surrpised with this wired error ,but keep in mind i had include the Header <stdio.h>
like this :
My file name is :myHeader.hCode:#include <errno.h> #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <stdarg.h> /* ANSI C header file */ #include <syslog.h> /* for syslog() */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> File *fp;
but it give me error :myHeader.h:24:1: error: unknown type name ‘File’?????