// // Ping.h // #pragma pack(1) #define ICMP_ECHOREPLY 0 #define ICMP_ECHOREQ 8 // IP Head…
// // main.cpp // RSA // // Created by liujan on 10/21/14. // Copyright (c) 2014 liujan. A…
#if defined(_WIN32) || defined(_WIN64) //为了支持windows平台上的编译 #include <windows.h> #end…
Map是一个关联性容器 map的存储类型是pair<const key,value>的类型 任何两个元素没有相同的key值 map是 1 、构造函数 map<co…
一个纯C实现的图形化计算器,可以鼠标点击操作 #include"graphics.h" #include"dos.h" #include&q…
// // main.c // Distance // // #include <stdio.h> #include <math.h> #define PI…
#include <stdio.h> #include <windows.h> BOOL IsRoot(LPCTSTR lpszPath) { TCHAR …
#include <string> #include <vector> inline BYTE toHex(const BYTE x) { return x…
C++自定义函数生成不重复的随机数 vector<int> getRandom(int total) { srand((int)time(NULL)); std::ve…
编程过程中涉及存储部分常常需要选择存储位置,此时比较关心的是各个磁盘盘符空间的总大小和剩余空间的大小。通过MFC的 List Control 控件可以将本地的磁…
#include <WinSock2.h> #include <iostream> using namespace std; #pragma comment…
在- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictiona…
C++在windows下获取本地主机ipv4地址和ipv6地址