Task: | Kortit |
Sender: | THH |
Submission time: | 2022-11-04 19:31:10 +0200 |
Language: | C++ (C++11) |
Status: | COMPILE ERROR |
Compiler report
input/code.cpp:2:10: fatal error: winsock2.h: No such file or directory 2 | #include <winsock2.h> | ^~~~~~~~~~~~ compilation terminated.
Code
#include <string.h> #include <winsock2.h> #include <windows.h> #include <iostream> #include <vector> #include <locale> #include <sstream> using namespace std; #pragma comment(lib,"ws2_32.lib") #include <iostream> int main() { std::cout << "Hello world!"; return 0; }