![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
_The_Great_Gatsby_
这个作者很懒,什么都没留下…
展开
-
C与C++中的struct 与enum的常用方法
1.C中struct与enum的用法 定义:struct tagDATA{ int i ; char s[10]; }; 使用:(1). struct tagDATA mydata = {1; "my"; }; (2). struct tagDATA mydata; mydata.i = 1; mydata.s[0] = 'm';...原创 2018-08-21 19:34:19 · 1196 阅读 · 0 评论 -
C++在windows与linux下编译动态库
一、.so与.dll比较 1、.so的单独编译链接 从网上找的一个例子: 头文件:so_test.h 三个.c文件:test_a.c test_b.c test_c.c //so_test.h #include "stdio.h" void test_a(); void test_b(); void test_c(); //test_a.c #include "so_test...原创 2019-09-12 16:21:36 · 1176 阅读 · 0 评论 -
FFMPEG笔记(1)解码流程
最近学习openCV的时候,感觉opencv对视频的处理能力不是很强,才开始接触ffmpeg。 ffmpeg是用C语言写的,里面都是结构体与库函数,没有类,所以在C++文件中添加头文件是一般会这样写: extern "C" { #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" #include "libswsca...原创 2019-01-14 21:03:04 · 251 阅读 · 0 评论