08-27-2009, 12:28 AM
Code:
if ( strcmp( szPlayerChatMsg1, szPlayerChatMsg2 ) )
{
doSomething();
}This is how I should do it. The spaces around function calls and parameters are primarily used to separate nested stuff a bit more clearly. If there is no parameter in the function call, no spaces are needed.
This is just personal preference, but we need to agree on a specific coding form which shall be used by every single developer.