Auto Manual Online

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

Introduction to C Programming


Topic: C Programming

Home :: C and C++ :: Tips and Tutorials :: Introduction to C and C++ Introduction to C Programming Hits: 1,313 Description: An introductory tutorial on C programming.

CS349/SE382 A1 C Programming Tutorial


Topic: C Programming

CS349/SE382 A1 CProgramming Tutorial Dierences fromC++ Dynamic Memory Dynamic Memory: Dynamic Memory Allocation I memory is allocated usingmalloc() I malloc() takes the number of ...

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 ...

INTRODUCTION TO C PROGRAMMING CE00312-1


Topic: C Programming

Page 1 INTRODUCTION TO C PROGRAMMING CE00312-1 TUTORIAL / PRACTICAL No. 3 1. Implement each of the following functions a) - d) and write a testbed program to call each function.

PicoDOS8 & ANSI C Programming Guide


Topic: C Programming

PicoDOS 8 ® Persistor Instruments Card or Disk Operating System 1 Data Acquisition and Storage Solutions for Industry and Science Instruments Inc. PER SIS TOR 254-J Shore Road, Bourne, MA, 02532 USA ...

 

Sponsored Links