
乱点
暂时未分类的文章
wuu19
这个作者很懒,什么都没留下…
展开
-
配置gcc编译参数,减少编译过程中的告警信息
gcc Wno-unused-variable Wno-unused-parameter Wno-unused-function Wno-unused-but-set-variable原创 2021-06-26 18:05:08 · 6884 阅读 · 0 评论 -
Linux、Windows 下,强制文件回写存储介质(转载)
转载,网络代码,未找到原始作者。Linux:#include <stdio.h>#include <unistd.h>FILE* fp = fopen("xxx", "w+");fwrite(buf, size, 1, fp);fflush(fp);fsync(fileno(fp));fclose(fp);Windows:#include <s...原创 2020-04-18 21:14:07 · 372 阅读 · 0 评论 -
Windows下,utf-8与GB2312互转(转载)
转载,网络代码,未找到原始作者。#include <stdio.h>#include <string.h>#include <stdlib.h>#include <iostream>#include <cstring>#include <io.h>#include <windows.h>#inclu...原创 2020-04-18 09:06:44 · 1325 阅读 · 0 评论 -
海思HI_MPI_IVE_DMA抠图
海思 HI_MPI_IVE_DMA原创 2019-11-15 20:14:28 · 3192 阅读 · 0 评论 -
遍历当前目录下所有文件
readdir scandir 遍历目录原创 2019-11-15 20:02:45 · 448 阅读 · 0 评论 -
海思音频初始化的一个小细节
海思 音频初始化原创 2019-11-14 17:01:12 · 721 阅读 · 0 评论 -
linux串口操作接口封装
linux 串口 select原创 2019-11-14 16:41:21 · 739 阅读 · 0 评论 -
高斯消元法解线性方程组
高斯消元法 线性方程组原创 2019-11-14 16:21:15 · 647 阅读 · 0 评论 -
计算2条线的夹角
矢量 夹角原创 2019-11-13 20:59:12 · 1488 阅读 · 0 评论 -
判断点是否在四边形内
点 四边形 内部原创 2019-11-13 17:50:53 · 5624 阅读 · 1 评论 -
使用poco库,实现http server、client例子
poco http server client原创 2019-11-08 17:31:01 · 6506 阅读 · 1 评论 -
使用poco库,实现tcp client例子
poco tcp client原创 2019-11-09 10:49:35 · 3191 阅读 · 0 评论 -
使用poco库,实现tcp server例子
poco tcp server原创 2019-11-09 10:59:34 · 1912 阅读 · 1 评论 -
Unicode与UTF-8
Unicode UTF-8原创 2019-11-01 13:14:03 · 550 阅读 · 0 评论 -
yuv转bmp
yuv转bmp原创 2019-09-14 23:10:30 · 2437 阅读 · 0 评论 -
使用gcc参数-Wl,–gc-sections,不链接未用函数,减小可执行文件大小
gcc -ffunction-sections -fdata-sections -Wl,–gc-sections原创 2019-09-11 09:45:57 · 21044 阅读 · 0 评论 -
YUV420sp旋转90度等函数
YUV420sp旋转90度等函数原创 2019-08-27 19:31:57 · 1082 阅读 · 0 评论