Coding Standards for pure C (not C++)

前端 未结 11 1950
盖世英雄少女心
盖世英雄少女心 2020-12-12 14:17

I come from a java background (from my CS classes) and a semester of C++. I am just finishing up a OpenCV project for my Co-Op that\'s in pure C, so I\'m a bit late in aski

11条回答
  •  庸人自扰
    2020-12-12 15:15

    Coding Style

    systemd

    systemd code quality tools

    RIOT-OS

    nginx

    Git Source Guidelines

    FFmpeg

    curl

    Architecture

    The Architecture of Open Source Applications C programs there include Git, Nginx, Open MPI, GPSD (C & Python), GDB, FreeRTOS, Berkeley DB, Bash, Asterisk,

    VLC (lots of architecture info)

    source examples

    Any of the above projects are worth a read. Standard command-line tools are also available to read. The Linux kernel has a lot of design documents out there too.

提交回复
热议问题