- 博客(10)
- 资源 (2)
- 收藏
- 关注
原创 Makefile编写
SRCS = $(wildcard *.c)SRC= $(SRCS)TARGET =appBUILD_DIR=buildOBJS := $(patsubst %.c,$(BUILD_DIR)/%.o,$(SRC))PPS :=$(OBJS:%.o=%.i)CFLAGS +=-gCFLAGS += -I./.PHONY: all echo preaseall:clean ...
2019-07-05 16:40:36
148
原创 node max->min
//实现在输入时自动排序(由小到大)#include <stdlib.h>#include <stdio.h>#include <string.h>typedef void(*backcall)(void *);typedef struct node{ backcall fun; void* userdata; int data; st...
2019-05-06 22:33:13
596
原创 node
//实现在输入时自动排序(由小到大)#include <stdlib.h>#include <stdio.h>#include <string.h>typedef void(*backcall)(void *);typedef struct node{ backcall fun; void* userdata; int data; st...
2019-05-06 21:41:36
166
原创 timelist
#include<stdio.h>#include<stdlib.h> typedef struct Node* NodePtr;typedef void (*callback)(void *) ;typedef struct Node{ int data; callback callfun; void * userdata; NodePtr prev;...
2019-05-04 22:37:24
989
原创 整数形参作为指针传递
1.形参传递void fun(void * param){ printf("param:%d",(int )(long)param);}int test(int a){ fun((void *)(long)a); return 0;}
2019-04-16 08:04:02
839
SDK_2.2_MKL16Z128xxx4_linux
2020-09-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人