10 2018 档案

摘要:使用Ubuntu下的git客户端 1 安装 sudo apt install git 2 配置个人信息 git config --global user.email "you@example.com" git config --global user.name "Your Name" 3 生成SSH 阅读全文
posted @ 2018-10-31 16:43 mingzhang 阅读(139) 评论(0) 推荐(0)
摘要:const int * a4 = &a1; ///const data,non-const pointer int * const a5 = &a1; ///non-const data,const pointer int const * const a6 = &a1; ///const data, 阅读全文
posted @ 2018-10-26 09:27 mingzhang 阅读(191) 评论(0) 推荐(0)
摘要:a). 自己写一个XXX.c文件,比如vf_transform.c,放在libavfilter目录下。代码可以参考其他filter; b) 在libavfilter/allfilters.c添加一行: extern AVFilter ff_vf_transform;c) 修改libavfilter/ 阅读全文
posted @ 2018-10-25 17:32 mingzhang 阅读(1174) 评论(0) 推荐(0)
摘要:char tBuf[1024] = {0}; int ret = readlink("/proc/self/exe" , tBuf , 1023) ; char *p = strrchr(tBuf , '/'); printf("%s\n", ++p); 阅读全文
posted @ 2018-10-24 16:28 mingzhang 阅读(882) 评论(0) 推荐(0)
摘要:#include <stdio.h>#include <stdarg.h> void test(const char * format, ...); int main(void){test("%d_%s", 6, "abc");return 0;} void test(const char * fo 阅读全文
posted @ 2018-10-18 16:26 mingzhang 阅读(2226) 评论(0) 推荐(0)