Class Name:
The name of the class must begin with an uppercaseMethod Name:
and be constitued of words. Each words must begin
with an uppercase. Example: a socket for a client:
ClientSocket or SocketClient. Underscore and
'-' doesn't be used.
The rules is the same as class name. Example:Variables and fields name:
void ConnectToServer() or int GetResult().
The name of the variables must be only composed ofBlock of code:
lowercase. Names must be composed of words separated
with underscores. Example:
int result or char* hostname or char* host_name
If possible, do not use prefix to determine the type like
'i' for int ot 'p' for pointers.
If possible, do not use java style for blocks. Example:while(true) {
...
}must be replaced by:
while(true)
{
...
}