摘要: https://cplusplus.com/reference/cstdio/printf A format specifier follows this prototype: %[flags][width][.precision][length]specifier p Pointer addres 阅读全文
posted @ 2022-12-19 23:32 Fun_with_Words 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 先说下微软的。有disable,但没有enable,有的是default: Reset warning behavior to its default value. BitBlt有SRCAND, 没有SRCOR, use SRCPAINT instead. warning pragma | Comp 阅读全文
posted @ 2022-12-19 23:18 Fun_with_Words 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 请先看输出: "go" "depth" "10" s=' go depth 10' "go" "depth" "10" s=' go' 学计算机的科班生知道:token - an individual instance of a continuous character sequence witho 阅读全文
posted @ 2022-12-19 22:13 Fun_with_Words 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 某程序用TDM-GCC 10.0编译。 把new改成calloc后,不再使用C++的库,.exe从191KB降到了80KB. TDM-GCC 10.0的库是静态链接的,好处是不会出找不到DLL的错误。 当然,boost, Qt等才叫大。 阅读全文
posted @ 2022-12-19 13:59 Fun_with_Words 阅读(28) 评论(0) 推荐(0) 编辑









 张牌。