- Classes prefix: "C", interfaces prefix: "I"
class CSomeClass;
class ISomeInterface;
- Structs postfix: "_t"
struct SomeStruct_t;
- Enums prefix: "E"
enum ESomeEnum
- Macroses
#define SOME_MACROS
Use PascalCase with variable type prefix
- Local variables:
int iSomeInt;
float flSomeFloat;
bool bSomeBool;
- Member class & struct variables have a prefix "m_":
class CSomeClass
{
public:
int m_iSomeInt;
float m_flSomeFloat;
bool m_bSomeBool;
};
struct SomeStruct_t
{
int m_iSomeInt;
float m_flSomeFloat;
bool m_bSomeBool;
};