-
October 18th, 2010, 09:24 PM
#1
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
-
November 6th, 2010, 04:48 PM
#2
Junior Member
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
[SIGPIC] http://www.opensuse.org/en/[/SIGPIC]
Similar Threads
-
By gore in forum Newbie Security Questions
Replies: 11
Last Post: December 29th, 2003, 08:01 AM
-
By GreekGoddess in forum Product / Book / Training / Conference Reviews
Replies: 3
Last Post: February 10th, 2003, 06:17 AM
-
By bingo2002 in forum Miscellaneous Security Discussions
Replies: 2
Last Post: June 18th, 2002, 02:48 AM
-
By Noble Hamlet in forum AntiOnline's General Chit Chat
Replies: 1100
Last Post: March 17th, 2002, 09:38 AM
-
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
-
Forum Rules
|
|