![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
文章平均质量分 51
风中小筑v
这个作者很懒,什么都没留下…
展开
-
自己写过的bug..发现之后简直想拍死自己
1 while (tempdata > 5); //多写了一个分号..卧槽 { std::cout << "hello world" << std::endl; } 2 std::ifstream ifs(filePath); IMAGE_DOS_HEADER* dosHeader = (IMAGE_DOS_HEADER*)(fileBuffer); IMAG...原创 2020-01-10 00:09:46 · 125 阅读 · 0 评论 -
wchar* 转换成 string
wchar* 转换成 string12 1 // Your wchar_t* wchar_t* txt = L"Hello World"; wstring ws(txt); // your new String string str(ws.begin(), ws.end()); // Show String cout << str << endl; 2 wchar_t* c...转载 2019-10-08 09:40:23 · 4465 阅读 · 1 评论