会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我这孩子从小记性就不好,什么东西都要写下来才放心
博客园
首页
新随笔
联系
订阅
管理
2014年5月28日
C++实现获取本机机器名及外网IP代码
摘要: #include "stdafx.h"#include #include #pragma comment(lib, "ws2_32.lib")#pragma comment(lib, "urlmon.lib") #define MAX_SIZE 1024 int GetLocalIP();int GetInternetIP(); int main(int argc, char* argv[])...
阅读全文
posted @ 2014-05-28 18:38 lizs
阅读(1171)
评论(0)
推荐(0)
编辑
公告