CPP参考标准
http://www.cplusplus.com/reference/
http://www.cplusplus.com/reference/cstdio/printf/
cpp调用c是要用extern
如下使用ffmpeg库的接口
extern "C" {
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
#include "libavformat/avio.h"
#include "libswscale/version.h"
}