• @[email protected]
    link
    fedilink
    21 year ago

    personally I prefer including the file

    prog_constants.h

    int program_state; // Keeps track of stuff

    in all translation units. That way I can easily keep track of what different parts of the program are doing at any time by modifying a single variable.