Explain naming convention globals, Computer Engineering


The values of global variables can be used and changed all over the project within all scripts and libraries. However it is highly recommended to remain the number of global variables small. If global variables tend to be used in a exact project only it is advisable to keep those values in either a project specific library header or in a divide configuration file.



"g" + [Prefix]+[ShortDescription]


Letter "g" shows that the scope of the variable is global. [Prefix] is a lowercase letter that shows the type of the global variable. The rules for [Prefix] are the similar as for "Local scope variables".



  • gnNumOfPersons
  • gsPersonLastname


Posted Date: 4/2/2013 6:25:19 AM | Location : United States

Related Discussions:- Explain naming convention globals, Assignment Help, Ask Question on Explain naming convention globals, Get Answer, Expert's Help, Explain naming convention globals Discussions

Write discussion on Explain naming convention globals
Your posts are moderated
Related Questions

COM add-ins are software program's which are included into an application and they add already built in features to an existing application. They have general architecture across m

Q. Determine what part of global array to work on thread number? #include void subdomain(float x[ ], int istart, int ipoints) { int i; for (i = 0; i x[istart+

What is meant by inter process communication? Inter process Communication: The OS give the means for cooperating processes to communicate with each other through an inter pro

What is common control switching system? Explain. Common Control Switching System: It is a functional block diagram of a common control switching system is demonstrated in figu

Define the term package- object oriented modeling A package is a common purpose mechanism for organising elements into groups. Package can also contain other packages. The no

Q. Operation codes used in assembly instructions? Now let's describe various operation codes needed for this machine so that we can translate High level language instructions t

zero, one, two three address instructions

Q. Explain the following: a. BCD code b. Gray code c. Excess-3 code d. True complement method Q. Addition-Subtraction-Multiplication-Division: Perform Binary Addi

Computer data storage: Computer data storage, frequently called memory or storage refers to computer recording media and components, devices that received digital data used fo