CMP - United Business Media TechOnline
All Articles Products Courses Papers VirtuaLabs Webinars Web
 
LoginRegister
      TechOnline > Electronics Company Directory > Technical Paper
Technical Papers
Guidelines for Writing Reliable C/C++ Code

Click to Download
pdf logo
2007 Embedded Systems Conference
46 KB (10 pages)
April 05, 2007
 

Greg Davis
Green Hills Software

Regardless of the software engineering methodology employed in a project, there are low-level decisions that are usually left up to the individual developer. Within this discretionary space, there is room for simple coding techniques that can make your embedded system more reliable. Although most organizations have some kind of coding guidelines, these often focus on issues like naming variables and indentation style. This paper will suggest some low-level coding guidelines that are applicable to almost all approaches to software engineering. While, nobody can promise you perfectly reliable code, these steps will surely take you in the right direction.

 
Rate this paper
WORSE | BETTER
1 2 3 4 5

submit a paper
Follow Tech Papers

Embedded Systems Conference (ESC)
Green Hills Software
   

TECH PAPER
1. Use Rowley CrossWorks and the MAXQ3120 Evaluation Kit to Create a Light Meter Application

TECH PAPER
2. System ACE Configuration Solution for Xilinx FPGAs

TECH PAPER
3. Interface Products Design Guide

TECH PAPER
4. Maintaining Data/Clock Synchronization with Spread-Spectrum EMI Reduction