Home > Programming > C Programming Language



Recommended C Style and Coding Standards

Sort Desciption:

A set of standards has been presented for C programming style. Among the most important points. are:. The proper use of white space and comments so that the ...



Content Inside:

Recommended C Style and Coding StandardsPage 1Recommended C Style and Coding StandardsL.W. CannonR.A. ElliottL.W. KirchhoffJ.H. MillerJ.M. MilnerR.W. MitzeE.P. SchanN.O. WhittingtonBell LabsHenry SpencerZoology Computer SystemsUniversity of TorontoDavid KeppelEECS UC BerkeleyCS&E University of WashingtonMark BraderSoftQuad IncorporatedTorontoABSTRACTThis document is an updated version of the Indian Hill C Style and Coding Standards paper with modifications by the last three authors. It describes a recommendedcoding standard for C programs. The scope is coding style not functional organization.February 19 1997Page 2Recommended C Style and Coding StandardsL.W. CannonR.A. ElliottL.W. KirchhoffJ.H. MillerJ.M. MilnerR.W. MitzeE.P. SchanN.O. WhittingtonBell LabsHenry SpencerZoology Computer SystemsUniversity of TorontoDavid KeppelEECS UC BerkeleyCS&E University of WashingtonMark BraderSoftQuad IncorporatedToronto1. IntroductionThis document is a modified version of a document from a committee formed at AT&Ts Indian Hilllabs to establish a common set of coding standards and recommendations for the Indian Hill community.The scope of this work is C coding style. Good style should encourage consistent layout improve portability and reduce errors. This work does not cover functional organization or general issues such as the useof gotos. We1have tried to combine previous work 168] on C style into a uniform set of standards thatshould be appropriate for any project using C although parts are biased towards particular systems. Ofnecessity these standards cannot cover all situations. Experience and informed judgement count for much.Programmers who encounter unusual situations should consult either experienced C programmers or codewritten by experienced C programmers (preferably following these rules).The standards in this document are not of themselves required but individual institutions or groupsmay adopt part or all of them as a part of program acceptance. It is th ...

Source: www.literateprogramming.com


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
The C++ programming language provides a model of memory and computation that ... 3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...