Sponsored Links

 

 

 

C Style Guide and Programming Guidelines

Source: www.chris-lott.org
Topic: C Programming


Short Desciption:
C Style Guide and Programming Guidelines Filename : Peter_CStyleGuide.doc/pdf Modified : October 23, 2003 Author : P.K. van der Vlugt e-mail : peter@ckernel.nl

 

Content Inside:
C Style Guide and Programming Guidelines Filename : Peter_CStyleGuide.doc/pdf Modified : October 23, 2003 Author   : P.K. van der Vlugt e-mail   : peter@ckernel.nl TABLE OF CONTENTS 1. INTRODUCTION. 1 2. GENERAL MODULE TEMPLATE. 2 2.1 H EAD ER FILE TEMPLATE . 2 2.1.1 File Header. 3 2.1.2 Version History. 3 2.1.3 Compiler directives. 4 2.1.4 MODULES USED. 4 2.1.5 DEFINITIONS AND MACROS. 4 2.1.6 TYPED EFS AND STRUCTURES. 5 2.1.7 EXPORTED VARIABLES. 6 2.1.8 EXPORTED FUNCTIONS. 6 2.1.9 EOF. 7 2.2 SOURCE FILE TEMPLATE . 8 2.2.1 General remarks. 9 2.2.2 File Header. 9 2.2.3 Version History. 9 2.2.4 Compiler directives. 9 2.2.5 MODULES USED. 9 2.2.6 DEFINITIONS AND MACROS. 9 2.2.7 TYPED EFS AND STRUCTURES. 9 2.2.8 PROTOTYPES OF LOCAL FUNCTIONS. 9 2.2.9 EXPORTED VARIABLES. 10 2.2.10 GLOBAL VARIABLES. 10 2.2.11 EXPORTED FUNCTIONS. 10 2.2.12 LOCAL FUNCTIONS. 11 2.2.13 EOF. 11 3. PROGRAMMING GUIDELINES. 12 3.1 G EN ER AL RULES . 12 3.2 V ARI ABLES AND FUNCTION PARAMETERS . 13 3.2.1 Global Variables. 14 3.2.2 Local Variables. 14 3.2.3 Function Parameters. 15 3.3 F UNCTIONS . 15 3.3.1 Prototypes of local functions. 15 3.3.2 Other functions. 16 3.4 T YPE DEFINITIONS . 16 3.5 D EFINIT IONS AND MACRO S . 17 3.6 O PERA TORS . 17 3.7 S TATEMENTS GENERAL . 17 3.8 E XPR ESS IONS . 20 3.9 F UNCTION CALLS . 21 3.10 C OMMENTS . 21 October 23, 2003                             C Style Guide and Programming Guidelines                                     1 1. Introduction This C style guid ...

 

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

Application programming Interface for C (C-API)


Topic: C Programming

written in C language to assist graphics application programs utilizing the 2D ... Graphics Application Program. Application Programming Interface (the "API" ...

An Introduction to C Programming for Java Programmers


Topic: C Programming

NTRODUCTION. This short tutorial is an introduction to programming in C. It is intended for students who already have some. programming experience in Java ...

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

C Programming


Topic: C Programming

Learn all about the C programming language in this comprehensive tutorial training set. Become well versed in the one today widely used core languages for programming. C ...

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.

 

Sponsored Links