上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页
摘要: 来自:https://www.cnblogs.com/wolfplan/p/6598583.html GetLastError返回的值通过在api函数中调用SetLastError或SetLastErrorEx设置。函数并无必要设置上一次错误信息,所以即使一次GetLastError调用返回的是零值 阅读全文
posted @ 2024-05-22 11:21 redrobot 阅读(8) 评论(0) 推荐(0) 编辑
摘要: <string>是C++标准库头文件,包含了拟容器class std::string的声明(不过class string事实上只是basic_string<char>的typedef),用于字符串操作。<cstring>是C标准库头文件<string.h>的C++标准库版本,包含了C风格字符串(NU 阅读全文
posted @ 2024-05-22 11:12 redrobot 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.cnblogs.com/echojson/p/10743641.html https://www.cnblogs.com/mafeng/p/8567261.html: GO语言 -- 调用DLL函数,填平所有的坑,最详尽攻略 https://blog.csdn.net 阅读全文
posted @ 2024-05-14 10:55 redrobot 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 引用:https://zhuanlan.zhihu.com/p/570714405 GO语言虽然不支持面向对像语法元素,比如类,对像,继承等,但Go语言也有方法.和函数相比,Go语言中的方法在声明形式上仅仅多了一个参数,称之为receiver参数.receiver参数是方法与类型之间的纽带.方法声明 阅读全文
posted @ 2024-05-09 11:27 redrobot 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 引用:https://segmentfault.com/a/1190000041634906 Go 1.18 泛型全面讲解:一篇讲清泛型的全部 WonderfulSoap 2022-03-31 阅读 24 分钟 English 229 序 2022年3月15日,争议非常大但同时也备受期待的泛型终于伴 阅读全文
posted @ 2024-05-09 11:17 redrobot 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 常用选项 -v : Verbose (try -vv for more detailed information) # 详细模式显示 -e "ssh options" : specify the ssh as remote shell # 指定ssh作为远程shell -a : archive mo 阅读全文
posted @ 2024-04-15 21:53 redrobot 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.安装环境: https://www.cnblogs.com/lishanyang/p/15768083.html https://sourceforge.net/projects/mingw-w64/files/ 2. TODO: 调用dll ,cgo https://www.cnblogs.c 阅读全文
posted @ 2024-04-07 10:45 redrobot 阅读(20) 评论(0) 推荐(0) 编辑
摘要: string是C++风格的字符串,本质上是一个类,它的内部封装了char *,是一个char *型的容器 使用string需要包含<string>头文件 string的内部封装了很多方法,本文将重点介绍string的一些常用方法,这些方法足以应对日常的刷题和比赛 C++ string 类详解: 字符 阅读全文
posted @ 2024-03-29 10:00 redrobot 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1.C++打印数组内容出现“烫烫烫烫烫……”的解决方法 : \0 https://blog.csdn.net/qq_45135120/article/details/110005577 2. vc2010 不支持 c++ 11 auto 以及 for (:) 遍历 无法实现,需要使用迭代器。 3. 阅读全文
posted @ 2024-02-28 09:42 redrobot 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Base64原理 Base64 是一种基于 64 个可打印字符来表示二进制数据的表示方法。由于 2^6 = 64,所以每 6 个比特为一个单元,对应某个可打印字符。3 个字节有 24 个比特,对应于 4 个 Base64 单元,即 3 个字节可由 4 个可打印字符来表示。它可用来作为电子邮件的传输编 阅读全文
posted @ 2024-02-27 13:36 redrobot 阅读(96) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页