Marcus Overhagen wrote:
* use "char* variable" instead of "char *variable" in C++ codeI disagree with that one. The * belongs to the variable, not to the type.
I wonder why. When I see something like this: char* foo;I read that foo is a pointer to a char (foo's type is "char pointer"). For me, moving * to be next to the variable name does not make much sense.
-Bruno