会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ruilovekeke
博客园
首页
新随笔
联系
订阅
管理
2023年4月21日
Linux命令
摘要: 系统基本操作: 打开终端: ctrl + alt + t~ : 家目录, 用户的工作目录, /home/linux/ / : 根目录 ls : 查看目录下内容 ls : 查看的是命令执行的路径下的内容 ls 路径名 : 查看的是路径名下的内容 ls -a : 查看所有文件(包括隐藏文件) 隐藏文件:
阅读全文
posted @ 2023-04-21 22:39 不是不想赢而是看淡了
阅读(21)
评论(0)
推荐(0)
2023年4月16日
函数指针
摘要: 函数指针 #include<stdio.h> void(*fun(void (*)(int),int))(int); //void(*)(int) fun(void(*)(int), int); void fun1(int a); int main(int argc, const char *arg
阅读全文
posted @ 2023-04-16 22:33 不是不想赢而是看淡了
阅读(21)
评论(0)
推荐(0)
2023年4月15日
驱动模块加载三要素例子
摘要: #include <linux/kernel.h> #include <linux/module.h> #include <linux/cdev.h> #include <linux/fs.h> #define HELLO_MAJOR 250 #define HELLO_MINOR 0 #defin
阅读全文
posted @ 2023-04-15 10:07 不是不想赢而是看淡了
阅读(33)
评论(0)
推荐(0)
2023年4月9日
数组排序
摘要: 1 #include <stdio.h> 2 void sort1(int s[]) 3 { 4 int i,j,t; 5 for(i=0;i<9;i++) 6 { 7 for(j=0;j<10;j++) 8 { 9 if(s[j]>s[j+1]) 10 { 11 t=s[j];s[j]=s[j+1
阅读全文
posted @ 2023-04-09 23:03 不是不想赢而是看淡了
阅读(15)
评论(0)
推荐(0)
公告