F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_11098966_23277.cpp:6:24: sys/socket.h: No such file or directory
0_0_11098966_23277.cpp:7:24: netinet/in.h: No such file or directory
0_0_11098966_23277.cpp:8:23: arpa/inet.h: No such file or directory
0_0_11098966_23277.cpp:9:21: pthread.h: No such file or directory
0_0_11098966_23277.cpp:10:16: rw.h: No such file or directory
0_0_11098966_23277.cpp: In function `void* deal_request(void*)':
0_0_11098966_23277.cpp:17: error: `MAX_LEN' undeclared (first use this function)
0_0_11098966_23277.cpp:17: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_11098966_23277.cpp:20: error: `pthread_self' undeclared (first use this function)
0_0_11098966_23277.cpp:20: error: `pthread_detach' undeclared (first use this function)
0_0_11098966_23277.cpp:23: error: `file_name' undeclared (first use this function)
0_0_11098966_23277.cpp:23: error: `read_cmd' undeclared (first use this function)
0_0_11098966_23277.cpp:30: error: `send_file' undeclared (first use this function)
0_0_11098966_23277.cpp:38: error: `close' undeclared (first use this function)
0_0_11098966_23277.cpp:39: error: `pthread_exit' undeclared (first use this function)
0_0_11098966_23277.cpp: In function `int main(int, char**)':
0_0_11098966_23277.cpp:45: error: aggregate `sockaddr_in servaddr' has incomplete type and cannot be defined
0_0_11098966_23277.cpp:46: error: aggregate `sockaddr_in cliaddr' has incomplete type and cannot be defined
0_0_11098966_23277.cpp:47: error: aggregate `sockaddr_in tempaddr' has incomplete type and cannot be defined
0_0_11098966_23277.cpp:48: error: `socklen_t' undeclared (first use this function)
0_0_11098966_23277.cpp:48: error: expected `;' before "templen"
0_0_11098966_23277.cpp:49: error: expected `;' before "clilen"
0_0_11098966_23277.cpp:52: error: `AF_INET' undeclared (first use this function)
0_0_11098966_23277.cpp:52: error: `SOCK_STREAM' undeclared (first use this function)
0_0_11098966_23277.cpp:52: error: `socket' undeclared (first use this function)
0_0_11098966_23277.cpp:58: error: `bzero' undeclared (first use this function)
0_0_11098966_23277.cpp:60: error: `INADDR_ANY' undeclared (first use this function)
0_0_11098966_23277.cpp:60: error: `htonl' undeclared (first use this function)
0_0_11098966_23277.cpp:63: error: `bind' undeclared (first use this function)
0_0_11098966_23277.cpp:69: error: `templen' undeclared (first use this function)
0_0_11098966_23277.cpp:69: error: invalid application of `sizeof' to incomplete type `sockaddr' 
0_0_11098966_23277.cpp:71: error: `getsockname' undeclared (first use this function)
0_0_11098966_23277.cpp:76: error: `ntohs' undeclared (first use this function)
0_0_11098966_23277.cpp:79: error: `listen' undeclared (first use this function)
0_0_11098966_23277.cpp:87: error: `pthread_t' undeclared (first use this function)
0_0_11098966_23277.cpp:87: error: expected `;' before "th"
0_0_11098966_23277.cpp:88: error: `clilen' undeclared (first use this function)
0_0_11098966_23277.cpp:91: error: `accept' undeclared (first use this function)
0_0_11098966_23277.cpp:100: error: `th' undeclared (first use this function)
0_0_11098966_23277.cpp:100: error: `pthread_create' undeclared (first use this function)


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-01 00:13:03, Gzip enabled