Using underline _ at the beginning of parameters
Results 1 to 2 of 2

Thread: Using underline _ at the beginning of parameters

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jul 2008
    Posts
    148

    Using underline _ at the beginning of parameters

    Hey folk,

    In programing languages like c++, does the parameters beginning with _ (like _view=...this was just an example) represent any special condition or meaning? Like is it a tradition to use some specific kind of variables beginning with underline? Or is it a tradition between programmers to begin a parameter with underline for some reasons?
    I do recall something as a tradition but I don't remember what it was!!!!!!

    Thanks

  2. #2
    Junior Member mostafaxx's Avatar
    Join Date
    Jul 2010
    Location
    Egypt-damanhour
    Posts
    15
    it depends on the API itself for example the Win32 function EnumWindows()
    takes as a first parameter a 32 bit pointer to a function ...

    you should know that by looking at the prefix of the parameter name "lp" which always refers to Long Pointer
    Decode the following to 8-Bit ASCII : 01001001 01110011 01101100 01100001 01101101 00100000 01101001 01110011 00100000 01110100 01101000 01100101 00100000 01110011 01101111 01101100 01110101 01110100 01101001 01101111 01101110

    <a rel=http://www.opensuse.org/en/" border="0" />

Similar Threads

  1. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 07:01 AM
  2. Beginning Programming in 24 Hours
    By GreekGoddess in forum Product / Book / Training / Conference Reviews
    Replies: 3
    Last Post: February 10th, 2003, 05:17 AM
  3. Underline Password in XP
    By bingo2002 in forum Miscellaneous Security Discussions
    Replies: 2
    Last Post: June 18th, 2002, 02:48 AM
  4. The Worlds Longest Thread!
    By Noble Hamlet in forum AntiOnline's General Chit Chat
    Replies: 1100
    Last Post: March 17th, 2002, 08:38 AM
  5. Batch File Tut
    By Badassatchu in forum Non-Security Archives
    Replies: 1
    Last Post: November 23rd, 2001, 10:13 PM

Tags for this Thread

Posting Permissions

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

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides