Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C++ Class Library Definition - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

           Source Naming


     Class  names  in  the library begin with  an  upper-case  letter.
     Likewise, each word within a class name begins with an upper-case
     letter (for example, class  DoubleList).  Member  functions  of a
     class begin with a  lower-case  letter,  but any subsequent words
     begin with upper-case letters (for example, printOn).

     Names of the private parts of  a  class are made up of lower-case
     letters only. Class  member  functions  and  parameter  names are
     chosen based on their ability to convey their meaning efficiently
     and  correctly.  For  example, unless it is desirable to hide the
     fact  that  a  data item is a pointer, all pointer names end with
     Ptr, such as aPtr.

     Types names in  the  class library also follow these conventions.
     All type names follow the rules for member function names and end
     with the word Type; for example, hashValueType. Pointer types end
     with PtrType.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson