c
jerry6699
爱生活,爱编程。
展开
-
C语言常见错误
switch 1 #include <stdio.h> 2 3 int main () {...原创 2020-01-26 10:41:05 · 247 阅读 · 0 评论 -
c语言基础知识
1. 结构体初值#include <stdio.h> typedef struct Node{ int len1; ...原创 2019-07-12 07:51:39 · 104 阅读 · 0 评论 -
指针的应用场景
连续寄存器寻址#include <stdio.h> #define __arch_getb(a) (*(volatile unsigned char *)(a)) struct lpuart_serial_pla...原创 2019-10-05 20:49:21 · 206 阅读 · 0 评论 -
信号的使用
注册信号 #include <signal.h> int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);功能:用于改变进程接收到特定信号后的行为。参数:signum 除了SIGKILL 和SIGSTOP(为这两个信号定义自己的处理函数,将导...转载 2019-10-07 15:21:13 · 211 阅读 · 0 评论