lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 48 下一页

2024年11月18日

摘要: [c/cpp]: user stack - test 1. code 1 #include <cstdio> 2 3 4 #define STACKSIZE 100 5 6 7 struct stack { 8 int index; 9 int e[STACKSIZE]; 10 }; 11 12 1 阅读全文
posted @ 2024-11-18 07:06 lnlidawei 阅读(11) 评论(0) 推荐(0)

摘要: [asm] as - linux64 1 code 1 [root@rocky:src]# cat hello64.as 2 # filename = hello64.as 3 4 5 .data 6 msg : .string "Hello, World!\n" 7 len = . - msg 8 阅读全文
posted @ 2024-11-18 05:01 lnlidawei 阅读(22) 评论(0) 推荐(0)

摘要: [asm/c/cpp]: function syscall() 1. syscall() - docs [root@rocky:src]# cat syscall.txt syscall(2) System Calls Manual syscall(2) NAME syscall - indirec 阅读全文
posted @ 2024-11-18 04:16 lnlidawei 阅读(64) 评论(0) 推荐(0)

2024年11月15日

摘要: 【哲学思考】:内卷的解决方案 内卷,即无论多少付出和努力,收入却无明显增加。 当你进行巨量的付出和努力、却无法明显增加收益时,那么你就陷入了内卷。 面对内卷时,我的解决方案是换赛道或者开辟新赛道。 换赛道。换赛道,有两种类型。其一,在行业内更换细分领域;其二,换行业。我们的现实世界中,总有些行业(细 阅读全文
posted @ 2024-11-15 03:17 lnlidawei 阅读(45) 评论(0) 推荐(0)

摘要: [c/cpp]:数据结构:表格实现(table) 一、程序代码 1 /* 2 * table { 3 * id value 4 * record[0].id record[0].value 5 * record[1].id record[1].value 6 * record[2].id recor 阅读全文
posted @ 2024-11-15 02:24 lnlidawei 阅读(61) 评论(0) 推荐(0)

摘要: [c/cpp]:指针的区别:【 int *px[3] 和 int (*pa)[3] 】 一、程序代码 1 #include <iostream> 2 3 4 int msg() 5 { 6 int x[3] = {1,2,3}; 7 8 int xx[4][3] = { 9 {1,2,3}, 10 阅读全文
posted @ 2024-11-15 00:24 lnlidawei 阅读(24) 评论(0) 推荐(0)

2024年11月14日

摘要: [c/cpp]:模板指针 一、程序代码 1 #include <iostream> 2 3 4 int msg(int x) 5 { 6 std::cout <<"\t[msg]#\t x := "<< x << std::endl; 7 return x; 8 } 9 10 11 // gener 阅读全文
posted @ 2024-11-14 20:11 lnlidawei 阅读(14) 评论(0) 推荐(0)

2024年11月8日

摘要: [三极管]:三极管工作原理(百度AI) 一、三极管工作原理 二、发射结正偏 三、发射结反偏 四、基极、集电极、发射极 五、参考资料 1、 三极管的工作原理 - https://www.baidu.com/s?word=三极管的工作原理&rsv_dl=DQA_PC_COPY 2、 发射结正偏 - ht 阅读全文
posted @ 2024-11-08 06:45 lnlidawei 阅读(69) 评论(0) 推荐(0)

摘要: [c/cpp]:递归算法:汉诺塔问题代码 一、代码 1 #include <iostream> 2 3 4 using namespace std; 5 6 7 // plate_numbers=n; 8 // from_stick=from; 9 // target_stick=to; 10 // 阅读全文
posted @ 2024-11-08 05:53 lnlidawei 阅读(55) 评论(0) 推荐(0)

2024年11月3日

摘要: [c/cpp]:字母大小写转换 一、代码 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 5 6 char ip1[] = "01234567890AbcDEf"; 7 char ip2[] = "01234567890 阅读全文
posted @ 2024-11-03 07:08 lnlidawei 阅读(53) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 48 下一页