lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页

2022年10月2日

摘要: win11 qemu 简明教程 一、使用教程: 1 G:\qemuWorkspaces>dir 2 Volume in drive G is w_workspaces 3 Volume Serial Number is B8D4-6DEE 4 5 Directory of G:\qemuWorksp 阅读全文
posted @ 2022-10-02 00:51 lnlidawei 阅读(7217) 评论(0) 推荐(1) 编辑

2022年9月30日

摘要: [os]: linux 系统调用(syscalls) 一、基本说明: 1、操作系统:rockylinux8.5 2、此处系统调用的使用形式: c/cpp的库函数 1 wit@fedora tmp]$ man syscalls // 【系统调用使用方式:c语言的函数库形式】查看系统调用名称 2 3 4 阅读全文
posted @ 2022-09-30 23:13 lnlidawei 阅读(168) 评论(0) 推荐(0) 编辑

2022年9月8日

摘要: cpp:函数返回数组 一、函数返回数组 1 #include<iostream> 2 3 4 using namespace std; 5 6 7 int* ret_array() 8 { 9 int a[]={1,2,3,4,5,6}; 10 int *pt=a; 11 return pt; 12 阅读全文
posted @ 2022-09-08 17:27 lnlidawei 阅读(179) 评论(0) 推荐(0) 编辑

2022年9月3日

摘要: cpp:类中的静态成员变量和静态成员函数(class) 一、类中的静态成员变量和静态成员函数: 1、类中的静态成员变量和静态成员函数:它们属于‘类’不属于‘对象’, 它们没有指针‘ this ’。 2、类中的静态成员变量和静态成员函数:静态成员变量,只能在类外初始化;静态成员函数只能访问静态成员变量 阅读全文
posted @ 2022-09-03 18:00 lnlidawei 阅读(386) 评论(0) 推荐(0) 编辑

摘要: c_cpp:多级指针 一、多级指针 1、多级指针(二级指针及以上),它们都指向前一级指针(pointer_M=&point_M-1,{M | M∈N且M∈[1,∞) } )。 示意: int varaible=80; int* pointer_1; pointer_n = &pointer_n-1; 阅读全文
posted @ 2022-09-03 15:30 lnlidawei 阅读(29) 评论(0) 推荐(0) 编辑

摘要: shell: list_executable_file - 列出当前文件夹的可执行文件名称(linux) 一、shell: list_executable_file 1 #!/usr/bin/bash 2 3 4 # file_name=list_executable_file 5 # functi 阅读全文
posted @ 2022-09-03 01:24 lnlidawei 阅读(160) 评论(0) 推荐(0) 编辑

2022年9月2日

摘要: shell:delete_executable_file - 删除当前文件夹的可执行文件(linux) 一、 delete_executable_file - 删除当前文件夹的可执行文件(linux) 1 #!/usr/bin/bash 2 3 4 # file_name = delete_exec 阅读全文
posted @ 2022-09-02 23:26 lnlidawei 阅读(264) 评论(0) 推荐(0) 编辑

2022年9月1日

摘要: c/cpp: 指针的双重赋值 一、指针使用、引用的运用 1、指针具有双重赋值的属性:第一重赋值,为指针变量赋值内存地址;第二重赋值,为指针变量所指的内存的存储空间赋予内容。 二、代码部分 1、c代码 1 [root@rockylinux tmp]# uname -a 2 Linux rockylin 阅读全文
posted @ 2022-09-01 17:13 lnlidawei 阅读(125) 评论(0) 推荐(0) 编辑

2022年8月30日

摘要: cpp: 指针和引用(class & object) 一、指针使用、引用的运用 1、指针具有双重赋值的属性:第一重赋值,为指针变量赋值内存地址;第二重赋值,为指针变量所指的内存的存储空间赋予内容。 2、(引用:cpp的特性;“引用”作为函数的参数):"引用"仍然是值传递。和普通变量相比较,“引用”只 阅读全文
posted @ 2022-08-30 18:51 lnlidawei 阅读(281) 评论(0) 推荐(0) 编辑

摘要: cpp:' data_type * '被视为一个数据类型 一、结论 1、data_type *,它被视为一个数据类型; 2、data_type *,用于定义指针变量; 3、举例: int * pt = nullptr; // int* 被视为一个数据类型; 1 [root@rockylinux tm 阅读全文
posted @ 2022-08-30 14:49 lnlidawei 阅读(79) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页