摘要:
gcc版本高于5.0时,使用occi会报错:ORA-24960: the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255 在代码第一行,增加 #define _GLIBCXX_USE_CX 阅读全文
摘要:
#include <codecvt>#include <locale> std::string gb2312_to_utf8(std::string const &strGb2312) { std::vector<wchar_t> buff(strGb2312.size());#ifdef _MSC 阅读全文