===== =====
C++标准库 是不能上网的;
百度了一下,C++可以用libcurl上网;
libcurl是个C语言组件;
https://mariusbancila.ro/blog/2018/03/13/using-curl-library-from-c-on-windows/
还有个路人甲把libcurl封装成了C++;
http://www.curlpp.org/
===== =====
字符函数
Windows:
WideCharToMultiByte()
MultiByteToWideChar()
Linux:
mbstowcs()
wcstombs()
转码还可以使iconv函数族,
包含以下三个函数:
iconv_t iconv_open(const char *tocode, const char *fromcode);
size_t iconv(iconv_t cd,char **inbuf,size_t *inbytesleft,char **outbuf,size_t *outbytesleft);
int iconv_close(iconv_t cd);
--
修改:PlutoKey FROM 119.123.179.*
FROM 119.123.179.*