会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代号870
博客园
首页
新随笔
联系
订阅
管理
2025年7月24日
解决golang unexpected NUL in input 问题
摘要: 1.把问题文件,拖进notepad++ 2.选择编码->UTF8,保存 (OK了)
阅读全文
posted @ 2025-07-24 20:30 代号870
阅读(8)
评论(0)
推荐(0)
2024年11月25日
golang,协程 和 上下文
摘要: 先了解一下上下文。 type Context interface { Deadline() (deadline time.Time, ok bool) Done() <-chan struct{} Err() error Value(key any) any}
阅读全文
posted @ 2024-11-25 17:06 代号870
阅读(11)
评论(0)
推荐(0)
2024年10月28日
golang 协程
摘要:
阅读全文
posted @ 2024-10-28 20:53 代号870
阅读(10)
评论(0)
推荐(0)
2020年5月20日
进程间通信方式+线程间通信方式
摘要: 转自:https://www.cnblogs.com/fmqdblog/p/10680077.html 进程间通信 管道(pipe):管道是一种半双工的通信方式,数据只能单向流动,而且只能在具有亲缘关系的进程间使用进程间的亲缘关系通常是指父子进程关系。 命名管道(named pipe/FIFO):命
阅读全文
posted @ 2020-05-20 17:41 代号870
阅读(129)
评论(0)
推荐(0)
2020年4月6日
只能生成栈对象和只能生成堆对象
摘要: https://blog.csdn.net/qq_34552886/article/details/70207836
阅读全文
posted @ 2020-04-06 17:05 代号870
阅读(124)
评论(0)
推荐(0)
2020年2月1日
linux的基础命令行和shell的区别
摘要: 相同点:①基础命令行和Shell都可以操作Linux系统,区别在于不同点:①基础命令行(ls、cd等),是一种单一的操作。②Shell可以比基础命令行更复杂,是一种组合型的操作。相比基础命令拥有了面向过程的概念。
阅读全文
posted @ 2020-02-01 15:07 代号870
阅读(1127)
评论(0)
推荐(0)
C语言基础(大小写转化,goto语句,continue,break)
摘要: 大小写转化:C语言中的3种方法:https://zhidao.baidu.com/question/264182016592267725.html goto语句: https://zhidao.baidu.com/special/view?id=d2745a24626975510400 contin
阅读全文
posted @ 2020-02-01 10:33 代号870
阅读(238)
评论(0)
推荐(0)
2020年1月27日
C语言scanf()和gets()及printf()和puts()的区别
摘要: https://blog.csdn.net/xingjiarong/article/details/47282817
阅读全文
posted @ 2020-01-27 10:26 代号870
阅读(163)
评论(0)
推荐(0)
2019年12月31日
指针的面试题目及相关
摘要: char *p = "ABCD",strcat https://zhidao.baidu.com/question/1670289637897433867.html https://wenku.baidu.com/view/fc35b5f3a48da0116c175f0e7cd184254b351b
阅读全文
posted @ 2019-12-31 22:20 代号870
阅读(168)
评论(0)
推荐(0)
2019年12月17日
笔试题
摘要: 1.一个只读文件text.txt,大小为16k,读取文件内容的第59个字节并输出,用C/C++语言实现 自己先好好学学文件操作。 https://blog.csdn.net/qq_37503115/article/details/79376743 https://blog.csdn.net/weix
阅读全文
posted @ 2019-12-17 09:01 代号870
阅读(173)
评论(0)
推荐(0)
下一页
公告