|
From: Ian P. <ipe...@ve...> - 2001-11-02 21:17:31
|
*smacks himself on the forehead* I didn't realize there was documentation yet =/ Sorry about that. My SF username is irperez. I tried to use CVS once before, but only to check something out (and I had trouble even with that). I'm not familiar with it at all. I'll try to contact you on ICQ in a bit. - Ian Perez (ipe...@ve...) - "It is by will alone I set my mind in motion" P.S. Below is the naming convention I use. Since yours is a bit limited (pointers, class data members, global vars, and boolean), maybe you could expand on it a bit with this. Prefixes: f - Boolean flag. Example: BOOL fEnabled; ch - Character. Example: char chGrade; st - C++ string. Example: string stName; sz - Null terminated string. Example: char szName[64]; fp - Floating point. Example: float fpPercent; i - Integer. Example: int iSize; w - Word. Example: short wLength; dw - Double word. Example: long dwBytes; tm - Templated. Example: _Ty tmItem; class name - Object. Example: CList listUsers; Pre-prefixes: u - Unsigned. Example: unsigned short uwLength; k - Constant. Example: const int kiNum; r - Reference. Example: char &rchGrade; s - Static. Example: static int siNum; rg - Array. Example: long rgdwValues[10]; m_ - Class data member. Example: int m_iLength; g_ - Global variable. Example: char g_szName[64]; p - Pointer to a single thing. Example: int *piVar; prg - Dynamically allocated array. Example: float *prgfpSizes; |