Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!dg3s+
From: dg3s+@andrew.cmu.edu (David Gentzel)
Newsgroups: comp.lang.c
Subject: C Style help requested
Message-ID: 
Date: 28 Sep 89 02:54:56 GMT
Organization: Carnegie Mellon, Pittsburgh, PA
Lines: 25

A friend of mine has been put in charge of coming up with a C (and C++) style
guide for his company.  The goals are

    1) Name and comment conventions to enhance comprehension and
	maintainability on projects with large numbers of programmers.
    2) Guidelines for writing portable code.
    3) Common coding mistakes to avoid (and the usual symptoms if they
	are not avoided).
    4) Miscellaneous (debugging tips, macro guidelines, typedef's, etc.).

What I would like to ask from the net readers are

    1) Pointers to publications which address these issues (books, periodicals,
	ftp'able guides).
    2) Pointers to (or collections of) some of the "classic" comp.lang.c
	articles on common misunderstandings (such as Chris Torek's highly
	valuable periodic posts on proper definition of NULL and differences
	between pointers and arrays).

Thanks for any help you can give me (and him)!

					Dave Gentzel
					Pittsburgh Supercomputing Center
					gentzel@godot.psc.edu
					or gentzel@a.psc.edu