Content deleted Content added
m Robot-assisted disambiguation (you can help!): C programming language |
|||
Line 1:
{{Portal|Free software}}
The '''GNU coding standards''' are a set of rules and guidelines for writing [[computer program|program]]s that work consistently within the [[GNU]] system. The standards document is part of the [[GNU Project]] and is available from the GNU website [http://www.gnu.org/prep/standards/]. Though it focuses on writing [[free software]] for GNU in [[C (programming language)|C]], much of it can be applied more generally. In particular, the GNU Project encourages its contributors to always try to follow the standards — whether or not their programs are implemented in C. The C code formatting style is well-known within the [[free software community]], but of course anyone can choose to follow it.
== Code formatting ==
The GNU coding standards specify exactly how to format most [[C (programming language)|C programming language]] constructs. Here is a characteristic example:
''int''
|