• C89 和 C99 标准比较

    时间:2022-06-23 00:45:48

    注1:GCC支持C99,通过--std=c99命令行参数开启,如:代码:gcc--std=c99test.c  注2:FFMPEG使用的是C99。而VC支持的是C89(不支持C99)。因此VC一般情况下是无法编译FFMPEG的源代码的。--------------------------------...

  • 使用M_PI和C89标准

    时间:2022-04-20 20:57:27

    I'musingCandtryingtogetaccesstotheconstantM_PI(3.14159...).Ihaveimportedthemath.hheaderfile,buttheM_PIconstantwasstillundefined.Throughsomesearchingon...