C coding standards
Peter Uchytil
peteru at tekig5.PEN.TEK.COM
Wed Jul 26 01:35:34 AEST 1989
I posted this question a while back in comp.lang.c. Perhaps I was in
the wrong place. In case you've all read this before, I'll keep it
short. Basically I'm looking for standards for C code. Things such as
naming conventions (e.g. all structures end with _s) and code
conventions (how things get indented; do the static variables come before
the globals?; etc.). I know that it might seem that this is getting
picky, and it is, but I've found that it greatly helps when several
people are working on a big project and need to read each other's code.
Anyone know of any standards of this kind? I'll take anything, even if
it's just a couple of suggestions on what you do. Thanks!
Pete
peteru at icarus.pen.tek.com
More information about the Comp.std.c
mailing list