自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (3)
  • 收藏
  • 关注

原创 c语言hex2str\str2hex等工具

【代码】c语言hex2str\str2hex等工具。

2023-12-28 11:26:08 499

原创 imx6ull网口配置,动态+静态

linux 网络配置

2023-04-27 14:38:49 224

原创 zlog移植

在arm平台上移植zlog

2022-11-26 12:35:59 548

原创 中文取字符设置

OLED

2022-04-14 17:20:20 87

原创 二分查找

/*供暖器*//* 房屋:[1,2,3],供暖器:[2],半径:1 房屋:[1,2,3,4],供暖器:[1,4],半径:1 房屋:[1,5],供暖器:[2],半径:3*/#include <stdlib.h>#include <stdio.h>/*二分法*/#define MAX(a,b) ((a) > (b) ? (a) : (b))#define MIN(a,b) ((a) < (b) ? (a) : (b))int bin.

2022-03-09 18:11:39 147

原创 vscode 隐藏非imx6ull文件

CV正点原子文件u-boot//settings.json uboot{ "search.exclude": { "**/node_modules": true, "**/bower_components": true, "**/*.o":true, "**/*.su":true, "**/*.cmd":true, "arch/arc":true, "arch/

2022-02-16 19:46:04 75

原创 斐波那契--爬楼梯

f(n)=f(n-1)+f(n-2)#include <stdlib.h>#include <stdio.h>int climbStairs(int n){ int p = 0,q = 0,r = 1; for (int i = 1; i <= n; i++) { p = q; q = r; r = p + q; printf(" %d ",r); } ret.

2022-02-09 15:16:28 471

原创 最大子数组和

#include <stdlib.h>#include <stdio.h>#define MAX(a,b) ((a)>(b)?(a):(b))int maxSubArray1(int *nums,int numsSize){ int pre = 0,maxAns = nums[0]; for (int i = 0; i < numsSize; i++) { pre = MAX(pre+nums[i],nums[i]);.

2022-02-09 11:31:54 160

原创 最长字符串

#include <stdlib.h>#include <stdio.h>#include <string.h>#define MAX(a ,b) ((a)<(b)? (b):(a))int lengthOfLongestSubstring2(char * s){ int hash[127] = {0}; int left = 0,right = 0,max =0; while(s[right]) { .

2022-02-09 11:00:23 710

原创 sqort()排序

#include <stdlib.h>标准库,快速排序。/* Sort NMEMB elements of BASE, of SIZE bytes each, using COMPAR to perform the comparisons. */extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __nonnull ((1, 4));#if.

2022-01-28 15:14:55 850

原创 \r\n的意义和区别

\r\n的区别。

2022-01-27 14:50:43 322

原创 munmap_chunk(): invalid pointer

malloc注意事项

2022-01-27 11:12:52 2924

原创 在arm32中浮点数与16进制转换

浮点转换

2022-01-26 11:33:53 1501 1

使用指针实现的FIFO结构

C、FIFO接口

2022-01-24

使用固定大小数组的环形队列

C、初学、简单、不需要记录存入数据长度,采用空出一个字节的方式。

2022-01-24

ccs仿真qpsk

语音信号qpsk处理,并在ccs上仿真出星座图,语音文件dat处理,c文件,配置文件

2018-04-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除