Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) identifier

 

An identifier is the name given to a variable.

 

In the example below, a variable is defined with the int data type and the identifier 'x':

 

int main()
{
  int x = 1;
}

 

Be consistent about identifier names; use either uppercase or underscore but not both to delimit words in identifiers [1].

 

 

 

 

 

References

 

  1. John Lakos. Large-Scale C++ Software Design. 1996. ISBN: 0-201-63362-0. Chapter 2.7: 'Be consistent about identifier names; use either uppercase or underscore but not both to delimit words in identifiers'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict