
杂文
文章平均质量分 54
others
城了个南
这个作者很懒,什么都没留下…
展开
-
驱动程序(简易字符驱动程序)
第二个驱动程序(简易字符驱动程序)1、编写驱动程序///////////////char.c////////////////# ifndef __KERNEL__# define __KERNEL__# endif# ifndef MODULE# define MODULE# endif# include <linux/mm.h>#include <linux/module.h>#include <asm/segment.h>#include &l原创 2021-06-20 11:38:05 · 373 阅读 · 0 评论 -
简易驱动程序
第一个驱动程序1、编写驱动程序##############hello.c#############include<linux/init.h>#include<linux/module.h>#include<linux/kernel.h>static int __init hello_init(void){ printk(KERN_ALERT"Hello World!\n"); return 0;}static void _原创 2021-06-17 22:17:15 · 333 阅读 · 0 评论 -
2021-04-30
Could not resolve com.android.tools.build:aapt2:4.1.1-6503028我是这么理解的(build 需要翻墙,速度很慢,导致build不成功,添加这里添加阿里镜像)原创 2021-04-30 15:45:05 · 373 阅读 · 1 评论 -
汇编程序编写时 masm,link的问题解决
汇编程序编写时 masm,link的问题解决1、Extra characters on line 注释的用的";"是中文的 “;” ———————————————————— 2、Operand types must match(操作数于操作码不匹配) sto是字节 bx是字 ———————————————————— 3、Must be index or base register([address]必须是数或寄存器)所以我们可以mov [0000],ax或mov原创 2021-04-27 18:23:02 · 2590 阅读 · 0 评论 -
java连接数据库
java连接数据库(Driver、url、user、password、Connection、Statement、sql(String)、RusultSet)已往数据库插入为例,下面是一种比较直接的方式/** * 插入一"学生"。 * * @param student * @return * @throws Exception */ public int insertStudent1(Student student) throws Exception { int ret =原创 2021-03-16 01:56:11 · 782 阅读 · 1 评论 -
cmd------不是内部或外部命令,也不是可运行的程序
CMD 部分指令(ping attrib)不可用之环境变量(系统变量)配置首先看图此电脑->属性高级系统设置环境变量系统变量的 Path 和PATHEXT==双击Path ==点击新建依次把下面的字符串 copy上去%C_EM64T_REDIST11%bin\Intel64%SystemRoot%\system32%SystemRoot%%SystemRoot%\System32\Wbem%SYSTEMROOT%\System32\WindowsPowerShell\原创 2021-02-25 14:33:26 · 3529 阅读 · 2 评论 -
2020-12-07
java连接sql第一步,请点击我这个超链接可能因为java的版本和jdbc的版本不一,将会报错,我试了俩个,我的Java和第一个是匹配的。不匹配的话将会报错:Exception in thread “main” java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtim原创 2020-12-07 17:40:18 · 114 阅读 · 0 评论 -
2020-10-28
static关键字类变量(静态变量) 成员变量声明时使用**static**,变量将成为**静态变量**或**类变量**。 加载类时只分配一次空间, **作用**:静态变量可以跟踪实例对象数目对于类变量(静态变量)可以直接通过类名调用,不需要实例化一个对象再调用。public class A {public static int a=6; private int b;} publi原创 2020-10-28 09:52:57 · 87 阅读 · 0 评论