includes.h

来自「In this article, I will explain how to c」· C头文件 代码 · 共 14 行

H
14
字号
#ifndef _INCLUDES_H
#define _INCLUDES_H

#include <winsock2.h> // htons() htonl() and other helper functions
#pragma comment (lib,"WS2_32.lib") 
#include <windows.h> 
#include <Iphlpapi.h>// Used to find information about the device such as default gateway and hardware addresses
#pragma comment (lib,"Iphlpapi.lib") 
#include <Pcap/pcap.h> // WinPCap
#pragma comment (lib,"wpcap.lib") // Link to pcap
#include <iostream> //sprintf()
using namespace std;

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?