variable name rule
First Letter: LocalLGlobalG
A second letter:bit (BT) bool (b) char (c) int (i) short (s) long (L) unsigned (U) double (d) float (f) pointer (p) enum (ST) struct (ST) union (ST)
example:
int liwidth;
struct person Gstperson;
Char Gcusedflag;
BOOL Gbisok;
Hump Naming method:MyFirstName、Mylastname,Such variable names look like Camel peaks.,So
and the name.
function name Rule
The function name should usually begin with a verb, ending with a noun, which conforms to the general rules of English.
Here are a few of the more appropriate functions to name:
Printreports ();
Spawnutilityprogram ();
Exitsystem ();
Initia|izedisk ();
The name of the addition _ after the classification word is as follows:
Stubaps_processevent ();
Stubaps_setinterpanchannel ();
Sampleapp_init ();
Sampleapp_processevent ();
C language Variables and function naming conventions