Engineering Papers⌕ Search

NASA NTRS · 20080039927

C++ Coding Standards and Style Guide

Abstract

This document is based on the "C Style Guide" (SEL-94-003). It contains recommendations for C++ implementations that build on, or in some cases replace, the style described in the C style guide. Style guidelines on any topics that are not covered in this document can be found in the "C Style Guide." An attempt has been made to indicate when these recommendations are just guidelines or suggestions versus when they are more strongly encouraged. Using coding standards makes code easier to read and maintain. General principles that maximize the readability and maintainability of C++ are: (1) Organize classes using encapsulation and information hiding techniques. (2) Enhance readability through the use of indentation and blank lines. (3) Add comments to header files to help users of classes. (4) Add comments to implementation files to help maintainers of classes. (5) Create names that are meaningful and readable.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Hughes, Steven, Jun, Linda, Shoan, Wendy. 2005-05-24. C++ Coding Standards and Style Guide. https://engineeringpapers.com/record/nasa%3A20080039927/c-coding-standards-and-style-guide

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Engineering Papers by Indiciae: BibTeX · RIS.