Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
10Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Joint Strike Fighter C++ Coding Standards

Joint Strike Fighter C++ Coding Standards

Ratings: (0)|Views: 3,420 |Likes:
Published by Chris Nash
The intent of this document is to provide direction and guidance to C++ programmers that will enable them to employ good programming style and proven programming practices leading to safe, reliable, testable, and maintainable code. Consequently, the rules contained in this document are required for Air Vehicle C++ development1 and recommended for non-Air Vehicle C++ development.
The intent of this document is to provide direction and guidance to C++ programmers that will enable them to employ good programming style and proven programming practices leading to safe, reliable, testable, and maintainable code. Consequently, the rules contained in this document are required for Air Vehicle C++ development1 and recommended for non-Air Vehicle C++ development.

More info:

Published by: Chris Nash on Jul 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/10/2013

pdf

text

original

 
 
Doc. No. 2RDU00001 Rev CDate: December 2005
JOINT STRIKE FIGHTER
AIR VEHICLEC++ CODING STANDARDSFOR THE SYSTEM DEVELOPMENT AND DEMONSTRATION PROGRAM
 Document Number
 
2RDU00001 Rev C
December 2005
 
Copyright 2005 by Lockheed Martin Corporation.DISTRIBUTION STATEMENT A: Approved for public release; distribution is unlimited.
 
 Doc. No. 2RDU00001 Rev CDate: December 20053
 This page intentionally left blank 
 
 
 Doc. No. 2RDU00001 Rev CDate: December 20054
TABLE OF CONTENTS
1 Introduction.............................................................................................................................72 Referenced Documents...........................................................................................................83 General Design......................................................................................................................103.1 Coupling & Cohesion...................................................................................................113.2 Code Size and Complexity............................................................................................124 C++ Coding Standards..........................................................................................................134.1 Introduction...................................................................................................................134.2 Rules.............................................................................................................................134.2.1 Should, Will, and Shall Rules...............................................................................134.2.2 Breaking Rules......................................................................................................134.2.3 Exceptions to Rules...............................................................................................144.3 Terminology..................................................................................................................144.4 Environment..................................................................................................................174.4.1 Language...............................................................................................................174.4.2 Character Sets.......................................................................................................174.4.3 Run-Time Checks.................................................................................................184.5 Libraries........................................................................................................................194.5.1 Standard Libraries.................................................................................................194.6 Pre-Processing Directives.............................................................................................204.6.1 #ifndef and #endif Pre-Processing Directives......................................................204.6.2
Pre-Processing Directive..........................................................................214.6.3 #include Pre-Processing Directive........................................................................214.7 Header Files..................................................................................................................224.8 Implementation Files....................................................................................................234.9 Style..............................................................................................................................234.9.1 Naming Identifiers................................................................................................244.9.1.1 Naming Classes, Structures, Enumerated types and typedefs..........................254.9.1.2 Naming Functions, Variables and Parameters..................................................264.9.1.3 Naming Constants and Enumerators.................................................................264.9.2 Naming Files.........................................................................................................264.9.3 Classes...................................................................................................................274.9.4 Functions...............................................................................................................274.9.5 Blocks...................................................................................................................284.9.6 Pointers and References........................................................................................284.9.7 Miscellaneous.......................................................................................................284.10 Classes...........................................................................................................................294.10.1 Class Interfaces.....................................................................................................294.10.2 Considerations Regarding Access Rights.............................................................294.10.3 Member Functions................................................................................................294.10.4 const Member Functions.......................................................................................304.10.5 Friends...................................................................................................................304.10.6 Object Lifetime, Constructors, and Destructors...................................................304.10.6.1 Object Lifetime.............................................................................................304.10.6.2 Constructors..................................................................................................314.10.6.3 Destructors....................................................................................................324.10.7 Assignment Operators...........................................................................................33

Activity (10)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Farhan Ahmad liked this
meyilmaz liked this
tskotamraju liked this
maigke liked this
eviancop liked this
rasguli liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->