Sponsored Links

 

 

 

C/C++ Programming Style Guidelines

Source: www.literateprogramming.com
Topic: C Programming


Short Desciption:
C/C++ Programming Style Guidelines Table of Contents Introduction File Contents File Format ... With luck, a good style guide can encourage better programming habits. To that end, all C++ programmers should ...

 

Content Inside:
C/C++ Programming Style Guidelines Table of Contents Introduction File Contents File Format Choosing Meaningful Names Comments Syntax and Language Issues Conclusion Appendix A. Review Checklist References * De gustibus non est disputandum. * Introduction This document contains the guidelines for writing C/C++ code for Dynamic Software Solutions. The point of a style guide is to greater uniformity in the appearance of source code. The benefit is enhanced readability and hence maintainability for the code. Wherever possible, we adopt stylistic conventions that have been proved to contribute positively to readability and/or maintainability. Before code can be considered for peer review the author must check that it adheres to these guidelines. This may be considered a prerequisite for the review process. A checklist is provided at the end of this document to aid in validating the source codes style. Where code fails to adhere to the conventions prescribed here may be considered a defect during the review process. If you have not already, please study Code Complete by Steve McConnell. This book provides a detailed discussion on all things related to building software systems. It also includes references to statistical studies on many of the stylistic elements that affect program maintainability.  Another valuable source of solid programming practice tips is The Practice of Programming by Brian W. Kernighan and Rob Pike. Scott Meyers books, Effective C++ and More Effective C++ should be considered required reading for any C++ programmer. And what person would be considered complete without having read The Elements of Style by Strunk and White? References The C++ Programming Language , Bjarne Stroustrup, 0-201-88954-4, Addison-Wesley, 1997. Code Complete: A Practical Handbook of Software Construction , Code Complete, Steve McConnell, C/C++ Programming Style Guidelines http://www.working-software.com/hand ...

 

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 PDF Files

C/C++ Programming Style Guidelines


Topic: C Programming

C/C++ Programming Style Guidelines Table of Contents Introduction File Contents File Format ... With luck, a good style guide can encourage better programming habits. To that end, all C++ programmers should ...

C++ Programming Styles and Libraries


Topic: C Programming

C++ is a multiparadigm programming language. That is, C++ supports several .... clean, maintainable, efficient code) is to master modern C++ programming ...

Interfacing C/C++ and Python with SWIG


Topic: C Programming

2 SWIG Tutorial 7th International Python Conference Prerequisites C/C++ programming • Youve written a C program. • Youve written a Makefile. • You know how to use the compiler and linker ...

C Socket Programming Tutorial Writing Client/Server Programd in ...


Topic: C Programming

C Socket Programming Tutorial. SHARE Session 5959. SAS. Institute Inc. Institute Inc. Cary NC. Cary NC. Writing Client/Server Programs in C ...

The Objective-C Programming Language


Topic: C Programming

object-oriented programming. Objective-C is defined as small but powerful set ... manual for C presented in The C Programming Language by Brian W. Kernighan ...

 

Sponsored Links