Strange as it is, my C and C++ code conventions are different. For C, I go with gnome's crappy way of function naming eg.: this_is_a_very_long_function_lol( int * thisIsAVariable) compare to my C++ stile which goes something like int * SetRotation( int *pNumber). The C++ may have no lower case variables depending on it's status. If it's global, it starts with a g eg gGlobal. If it's just some random stack fiend, it goes something: int MyVariable; This is just something I grew into I guess...
You should never define your own symbols that begin with underscores; all such symbols are reserved by
compilers and/or library writers.
There are in many cases programmatic solutions to preventing "internal" functions from being called.
Make "internal" class member functions (if they need to be class members) private. For free functions
that are used in a single .cpp file, do not declare them in the header; rather make them static functions
in the .cpp file and/or put them in an unnamed namespace within the .cpp file.
You should never define your own symbols that begin with underscores; all such symbols are reserved by
compilers and/or library writers.
There are in many cases programmatic solutions to preventing "internal" functions from being called.
Make "internal" class member functions (if they need to be class members) private. For free functions
that are used in a single .cpp file, do not declare them in the header; rather make them static functions
in the .cpp file and/or put them in an unnamed namespace within the .cpp file.
That's what I use them for; so that people won't call functions I don't want them to.
However I will take your advice and make them static.