[Skip Navigation] [CSUSB] / [CNS] / [Comp Sci Dept] / [R J Botting] / [Samples] / comp.prog.5_Hungarian
[Index] [Contents] [Source Text] [About] [Notation] [Copyright] [Comment/Contact] [Search ]
Tue Sep 18 15:25:21 PDT 2007

Contents


    Hungarian Notation for C Programming

      Hungarian Convention

      Simonyi, after Van de Walker 89. Don't use Natural Language

    1. program_identifier::=# type_tag terminal_type_tag (qualifier|),

    2. terminal_type_tag::=word|floating | flag | char |long_int | double_floating point|counted_string|zero_terminated_string|...,
    3. word::="w",
    4. floating::="fl",
    5. flag::="f",
    6. char::="ch",
    7. long int::=l,
    8. double_floating_point::="dfl",
    9. counted_string::="sc",
    10. zero_terminated_string::="sz".

    11. type_tag::=pointer_to|index_of | array_of | size_of | count_of | delta | ...,
    12. pointer_to::="p", index_of::="i",
    13. array_of::="r", size_of::="s",
    14. count_of::="c" delta::="d",... .

    15. qualifier::={"t", number, "fst", "lst", "nxt", "prv", "max", "min", "mac",...}
    16. verb_tags::=(|undo){"get", "put","init","lok","cpy",...}
    17. u::=undo::="u"

    . . . . . . . . . ( end of section Hungarian Notation for C Programming) <<Contents | End>>

End