加载中
[UMU 学 golang](7) 设置进程退出码

常规方案 直接用 os.Exit(exit_code),但这个太暴力了,我们需要装逼一点的,于是找到了这个:https://stackoverflow.com/questions/24601516/correct-way-to-set-exit-code-of-process pack...

求模版函数地址

最近用 WTL 写 Ribbon 界面,发现一个坑。 先看 WTL9.1 的代码 static void (CharFormat::*Getk_[])(IPropertyStore*) = { &CharFormat::Getk_Family, &CharFormat::Getk_FontProp...

[UMU 学 golang](6) 从 stdin 读取一行汉字

水这篇的理由:搜了几篇出来,但居然不支持输入中文,赫赫…… func ScanLine() (line string) {   var buffer []rune   for {     var c rune     n, err := fmt.Scanf("%c", &c)     if nil != err...

2018/03/14 23:39
320

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部