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_8496493_18833.cpp:2:22: winsock2.h: No such file or directory
0_0_8496493_18833.cpp:4:21: windows.h: No such file or directory
0_0_8496493_18833.cpp: In function `int main(int, char**)':
0_0_8496493_18833.cpp:11: error: `inet_addr' undeclared (first use this function)
0_0_8496493_18833.cpp:11: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_8496493_18833.cpp:11: error: `INADDR_NONE' undeclared (first use this function)
0_0_8496493_18833.cpp:14: error: `exit' undeclared (first use this function)
0_0_8496493_18833.cpp:18: error: `atoi' undeclared (first use this function)
0_0_8496493_18833.cpp:23: error: `in_addr' undeclared (first use this function)
0_0_8496493_18833.cpp:23: error: expected primary-expression before ')' token
0_0_8496493_18833.cpp:23: error: `inet_ntoa' undeclared (first use this function)
0_0_8496493_18833.cpp:24: error: `WSADATA' undeclared (first use this function)
0_0_8496493_18833.cpp:24: error: expected `;' before "wsa"
0_0_8496493_18833.cpp:26: error: `MAKEWORD' undeclared (first use this function)
0_0_8496493_18833.cpp:26: error: `wsa' undeclared (first use this function)
0_0_8496493_18833.cpp:26: error: `WSAStartup' undeclared (first use this function)
0_0_8496493_18833.cpp:32: error: `SOCKET' undeclared (first use this function)
0_0_8496493_18833.cpp:32: error: expected `;' before "sock"
0_0_8496493_18833.cpp:33: error: `sock' undeclared (first use this function)
0_0_8496493_18833.cpp:33: error: `AF_INET' undeclared (first use this function)
0_0_8496493_18833.cpp:33: error: `SOCK_STREAM' undeclared (first use this function)
0_0_8496493_18833.cpp:33: error: `IPPROTO_TCP' undeclared (first use this function)
0_0_8496493_18833.cpp:33: error: `socket' undeclared (first use this function)
0_0_8496493_18833.cpp:33: error: `INVALID_SOCKET' undeclared (first use this function)
0_0_8496493_18833.cpp:38: error: aggregate `sockaddr_in serverAddress' has incomplete type and cannot be defined
0_0_8496493_18833.cpp:39: error: invalid application of `sizeof' to incomplete type `sockaddr_in' 
0_0_8496493_18833.cpp:39: error: `memset' undeclared (first use this function)
0_0_8496493_18833.cpp:42: error: `htons' undeclared (first use this function)
0_0_8496493_18833.cpp:44: error: `sockaddr' undeclared (first use this function)
0_0_8496493_18833.cpp:44: error: expected primary-expression before ')' token
0_0_8496493_18833.cpp:44: error: `connect' undeclared (first use this function)
0_0_8496493_18833.cpp:44: error: `SOCKET_ERROR' undeclared (first use this function)
0_0_8496493_18833.cpp:51: error: `strlen' undeclared (first use this function)
0_0_8496493_18833.cpp:51: error: `send' undeclared (first use this function)
0_0_8496493_18833.cpp:57: error: `WSACleanup' 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-11-26 10:14:57, Gzip enabled