1.CString 转 string //第一种方式 CString str = _T("Hello wrold"); USER_CONVERSION; std::string s(W2A(str)); //第二种方式 CString str = _T("Hello wrold"); std::st ...
分类:
编程语言 时间:
2020-04-25 23:23:48
阅读次数:
77
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2020-04-22 12:51:03
阅读次数:
65
npm i image-conversion --save # or yarn add image-conversion import { compress, compressAccurately } from "image-conversion"; // 要用前先引用 handleBefore(f ...
分类:
其他好文 时间:
2020-04-17 14:07:52
阅读次数:
177
题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed fo ...
分类:
其他好文 时间:
2020-04-16 13:20:15
阅读次数:
61
'FOR /f "delims=" %%i IN ('DIR *.xlsx /b') DO excel2csv.vbs "%%i" "%%i.csv" if WScript.Arguments.Count < 2 Then WScript.Echo "Please specify the src a ...
分类:
其他好文 时间:
2020-04-13 19:41:01
阅读次数:
91
链接:https://leetcode cn.com/problems/binary tree zigzag level order traversal/ ...
分类:
其他好文 时间:
2020-04-06 20:53:54
阅读次数:
53
https://hsivonen.fi/modern-cpp-in-rust/ Since version 56, Firefox has had a new character encoding conversion library called encoding_rs. It is writte ...
分类:
编程语言 时间:
2020-03-29 21:26:15
阅读次数:
81
https://json-csv.com/是可以将json转换为csv文件的网站,今天我试了一下效果不错,但是文件大一点就需要收费。 怎么办呢?抱着试一试的心态我按下了F12,点开NetWork,发现实际的下载链接长这样: https://json-csv.com/conversion/downlo ...
分类:
Web程序 时间:
2020-03-23 20:23:52
阅读次数:
119
Given a binary tree root, a ZigZag path for a binary tree is defined as follow: Choose any node in the binary tree and a direction (right or left). If ...
分类:
其他好文 时间:
2020-03-12 09:26:04
阅读次数:
76
Protobuf的编码规则:Varint和Zigzag编码。 ...
分类:
其他好文 时间:
2020-03-08 23:16:18
阅读次数:
67