Results 1 to 3 of 3

Thread: MS Variable Naming Conventions...

  1. #1
    amac
    Guest

    MS Variable Naming Conventions...

    Alright... I never really thought about before until now, but I was wondering what the "z" is for in their variable names...

    eg. lpszString

    I am pretty sure that the "lp" is "local pointer" and the "s" means that it is a string... or is it the "sz"?

  2. #2
    New Member
    Join Date
    Jan 2001
    Posts
    11
    I thought it went like this:
    lp - long pointer
    sz - string terminated with a zero

    Later

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Search the forum for Hungarian Notation (it might be in Chit Chat actually) - I posted the memo written by one of Microsoft's employees on naming conventions.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width