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
阅读全文
摘要: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,
阅读全文
摘要:a). 自己写一个XXX.c文件,比如vf_transform.c,放在libavfilter目录下。代码可以参考其他filter; b) 在libavfilter/allfilters.c添加一行: extern AVFilter ff_vf_transform;c) 修改libavfilter/
阅读全文
摘要:char tBuf[1024] = {0}; int ret = readlink("/proc/self/exe" , tBuf , 1023) ; char *p = strrchr(tBuf , '/'); printf("%s\n", ++p);
阅读全文
摘要:#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
阅读全文

浙公网安备 33010602011771号