摘要:
string MyStr::readstring1(const char*path) { ifstream file; file.open(path, ios::in);//读文件ios::in ios::binary file.seekg(0, ios::end); std::streamoff 阅读全文
posted @ 2022-08-02 16:13
T_T2001
阅读(56)
评论(0)
推荐(0)
摘要:
string MyStr::askEnvValue(const char* env) { string e = ""; char* buf = nullptr; size_t sz = 0; if (_dupenv_s(&buf, &sz, env) == 0 && buf != nullptr) 阅读全文
posted @ 2022-08-02 16:10
T_T2001
阅读(92)
评论(0)
推荐(0)
摘要:
//确保路径格式为\\形式 char *q = strrchr(p, '\\';) + 1; 阅读全文
posted @ 2022-08-02 16:08
T_T2001
阅读(102)
评论(0)
推荐(0)

浙公网安备 33010602011771号