会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
成为渐进主义的改良派
该干什么,干什么;想干什么,干什么
博客园
首页
新随笔
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
37
下一页
2024年1月18日
写作-句式收集
摘要: 句式: A有利于什么什么,避免什么什么。 虽然A,但是B就可以C,减少因什么而造成的什么。 如果怎么样,那就如何,否则如何,最后如何。
阅读全文
posted @ 2024-01-18 20:08 starc的miao
阅读(10)
评论(0)
推荐(0)
2024年1月17日
文件IO-strdup
摘要: 示例 #include <stdio.h> #include <string.h> #include <stdio.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <s
阅读全文
posted @ 2024-01-17 19:31 starc的miao
阅读(9)
评论(0)
推荐(0)
2024年1月16日
文件IO-fwrite-fread-fscanf-fflush
摘要: fwrite 把 ptr 所指向的数组中的数据写入到给定流 stream 中。 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) 参数 ptr -- 这是指向要被写入的元素数组的指针。 size -- 这是
阅读全文
posted @ 2024-01-16 11:33 starc的miao
阅读(27)
评论(0)
推荐(0)
2024年1月15日
Git-git rebase
摘要: [git rebase详解(图解+最简单示例,一次就懂)]https://blog.csdn.net/weixin_42310154/article/details/119004977
阅读全文
posted @ 2024-01-15 17:44 starc的miao
阅读(3)
评论(0)
推荐(0)
APUE-popen
摘要: FILE * popen( const char * command,const char * type); popen()会调用fork()产生子进程,然后从子进程中调用/bin/sh -c来执行参数command的指令。参数type可使用“r”代表读取,“w”代表写入。依照此type值,pope
阅读全文
posted @ 2024-01-15 17:40 starc的miao
阅读(31)
评论(0)
推荐(0)
Linux-流量统计
摘要: cat /proc/net/dev |awk '{ if(NR!=1 && NR!=2) print $0 }' |sed 's/:/ /g'| awk '{ print($1,$2,$3,$5,$10,$11,$13)}' 【c/c++实现linux下各个网络流量抓取】https://blog.c
阅读全文
posted @ 2024-01-15 17:27 starc的miao
阅读(29)
评论(0)
推荐(0)
C-strtok-strstr
摘要: strtok 字符串分段截取 https://www.runoob.com/cprogramming/c-function-strtok.html char *strtok(char *str, const char *delim) #include <string.h> #include <std
阅读全文
posted @ 2024-01-15 17:25 starc的miao
阅读(11)
评论(0)
推荐(0)
2024年1月13日
阅读-《所谓时间管理就是选择性放弃》
摘要: 这本书讲了什么? 主旨 摘录 “把繁杂的内容分门别类的整理出来,同时标注了重点摘要,准确展示了关键数据,呈现了讨论最终结果来方便阅读,这才是专业的分析能力和总结能力。”通过这个能力的描述作者引出了时间管理和能力提升的概念。厉害的人总能找到最重要的事情,其秘诀就是要学会抓大放小,并在处理多任务的时候要
阅读全文
posted @ 2024-01-13 18:25 starc的miao
阅读(159)
评论(0)
推荐(0)
认知行为疗法-中对认知的理解
摘要: 认知行为疗法不能够光讲道理,必须得把思考问题的逻辑讲清楚,也就是信息加工的过程。因为只讲结果是不被人理解的,人跟人之间的差异,他对信息加工方式是不一样,得出结果是不一样。 如果只告诉我,我要去做什么,但是我的大脑信息加工的结果告诉我,可能要做别的,或者说我压根不知道做什么,那么我在做这件事情的时候是
阅读全文
posted @ 2024-01-13 18:01 starc的miao
阅读(14)
评论(0)
推荐(0)
2024年1月12日
设计模式-C++版本-工厂模式-简单工厂-抽象工厂
摘要: Makefile Code TARGET = factory CC=g++ DIR = $(shell pwd) DIR_OBJ = $(DIR)/obj DIR_SRC = $(DIR)/src DIR_INC = $(DIR)/inc SRC = $(wildcard $(DIR_SRC)/*.
阅读全文
posted @ 2024-01-12 14:12 starc的miao
阅读(18)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
37
下一页
公告