lnlidawei

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

2024年11月3日

摘要: [c/cpp]:字符计数和文本行计数 一、代码 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 5 6 char input[] = "1\n2\n3\n"; 7 8 9 // string_length = strin 阅读全文
posted @ 2024-11-03 06:45 lnlidawei 阅读(23) 评论(0) 推荐(0)

2024年11月2日

摘要: [os/linux]:计算机中的编码和解码(ASCII) 一、ASCII(American Standard Code For Information Interchange)简介 1、 在二进制的计算机中,ASCII用‘8位二进制数值’表示一个‘字符’;这样就形成了“字符”和“数值”之间的对应关系 阅读全文
posted @ 2024-11-02 18:43 lnlidawei 阅读(79) 评论(0) 推荐(0)

摘要: [linux] 内核模块的编译(百度AI整理) 一、正文内容 [linux] 内核模块的编译(百度AI整理) 在Linux中编译内核模块通常涉及以下步骤: 一、 安装必要的工具和库(ubuntu): sudo apt-get install build-essential linux-headers 阅读全文
posted @ 2024-11-02 02:51 lnlidawei 阅读(102) 评论(0) 推荐(0)

2024年11月1日

摘要: [c/cpp]:函数指针数组的应用(模拟系统调用) 一、说明 1、 函数指针数组: 一个指针数组,它的元素是函数指针;函数指针数组。 二、程序代码 1 [root@rocky:test]# cat syscalls.c 2 #include <stdio.h> 3 #include <stdlib. 阅读全文
posted @ 2024-11-01 02:38 lnlidawei 阅读(16) 评论(0) 推荐(0)

摘要: [c/cpp]:指向函数的指针数组(函数指针的数组) 〇、说明: 1、 函数指针: 一个指针,它指向一个函数。 2、 函数指针数组: 一个指针数组,它的元素是函数指针。 一、程序代码 1 [root@rocky:test]# cat test.c 2 #include <stdio.h> 3 #in 阅读全文
posted @ 2024-11-01 01:51 lnlidawei 阅读(13) 评论(0) 推荐(0)

2024年10月31日

摘要: 俄语学习丨俄语入门正确的学习顺序 焕华小助手 焕华出国留学资讯 2024年10月21日 17:33 新疆( 原文网址 ) 阅读全文
posted @ 2024-10-31 21:02 lnlidawei 阅读(49) 评论(0) 推荐(0)

2024年10月29日

摘要: [nasm]: nasm汇编语言笔记和心得 一、笔记内容 1. ascii: 分为ascii字符和ascii码值 -- ascii字符 ascii码值 | ascii码值(十进制) ascii码值(十六进制) | A 65 0x41 | a 97 0x61 | 0 48 0x30 | 1 49 0x 阅读全文
posted @ 2024-10-29 01:16 lnlidawei 阅读(62) 评论(0) 推荐(0)

2024年10月26日

摘要: [asm]: linux syscall number(32bits_64bits) 一、32bit_syscall_number(451个系统调用) 1 [root@rocky:syscall]# cat linux_syscall_no_32.txt 2 // date: 2024-10-26 阅读全文
posted @ 2024-10-26 17:31 lnlidawei 阅读(48) 评论(0) 推荐(0)

2024年10月25日

摘要: [linux]: job(百度ai) 说明:本文由【百度ai】生成,本人整理。 ‌一、Job 概述: 在Linux中,job是指通过shell提交的一个任务或命令的执行实例。‌当一个命令通过shell提交执行时,这个命令就被视为一个job。 每个job都有一个唯一的job ID,并且可以处于不同的状 阅读全文
posted @ 2024-10-25 17:52 lnlidawei 阅读(44) 评论(0) 推荐(0)

2024年10月23日

摘要: [cpp]: template的基本元素:概念和要求 一、template 基本概念 1.、概念(concept): 概念的功能,对template中的参数(T/E)进行约束/限制。‘概念(concept)’,是一组‘要求(requirements)’的集合。 2、要求(requirements): 阅读全文
posted @ 2024-10-23 02:46 lnlidawei 阅读(88) 评论(0) 推荐(0)

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