Results 1 to 2 of 2

Thread: Using underline _ at the beginning of parameters

  1. #1
    Senior Member
    Join Date
    Jul 2008

    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!!!!!!


  2. #2
    Junior Member mostafaxx's Avatar
    Join Date
    Jul 2010
    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


Similar Threads

  1. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 08:01 AM
  2. Beginning Programming in 24 Hours
    By GreekGoddess in forum Product / Book / Training / Conference Reviews
    Replies: 3
    Last Post: February 10th, 2003, 06: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, 09:38 AM
  5. Batch File Tut
    By Badassatchu in forum Non-Security Archives
    Replies: 1
    Last Post: November 23rd, 2001, 11: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