IP與點分十進制數的字符串之間的轉換(c++)

本身寫的一個IP地址與點分十進制數的字符串之間的轉換的示列:ios #include "stdafx.h" #include <iostream> #include <string> //#include <windows.h> using namespace std; int IPToValue(const string& strIP) { //IP轉化爲數值 //沒有格式檢查 //返回
相關文章
相關標籤/搜索