Before you go writing yet another C++ coding style, have you looked at the others that are out there. Place to start is:
http://www.cs.umd.edu/users/cml/cstyle/
In particular, read the Ellemtel style guide. With respect to your Part 1 & 2, here's some questions to consider:
* Any recommended directory structure to use in a large project?
* Any recommendations on filenames to improve sorting and searching?
* Should filenames use underscore or dash or nothing to separate words in the name?
* Would you recommend macros for portability issues (ie. #ifdef for system types)?
* Should C++ keywords be surrounded by whitespace to prevent confusion with function names (ie. ease grepping)?
* What do you think of this style for function definitions?
int // returning position in array
FindItem(
char* string // item to search for
) {
...
}
* Have you looked at tools for literate programming like the following?
http://www.w3.org/Tools/Prog_lang_filters.html
Just some things to think about... ;-)
|