by qqqqqqqq November 6, 2007
Get the pointer mug.A pointer is a data type of a programming language. Pointers are basically variables that can point to another location in memory.
Many programming headaches can be caused by the use of pointers if you're not sure what you're doing.
by obscure September 20, 2005
Get the Pointer mug.Related Words
1) Someone who meets hiring quotas on two counts.
2) An employee who fits into two minority categories.
2) An employee who fits into two minority categories.
"That new black woman in accounting will never get fired, she's a two pointer"
Alternate spelling "2 Pointer"
Alternate spelling "2 Pointer"
by Lefty Flash September 30, 2008
Get the Two Pointer mug.by c0za April 26, 2005
Get the to have the painters in mug.A girl who has a reputation for performing Diddie Wanks and pearlie necklaces. Comes from the stippled speckled appearance of a Painter's Radio.
by Anonymous April 22, 2003
Get the Painters Radio mug.A data type found in computer programming languages such as C++. It is a variable that holds the memory address of another variable.
Dynamic allocation of memory is possible through the use of pointers.
Dynamic allocation of memory is possible through the use of pointers.
Examples using pointers:
int i = 5; // declares an integer with an initial value of 5
int *p = &i; // declares a pointer to an integer and assigns
the address of i to it
cout << i; // outputs the number 5 to the console
cout << &i; // outputs the address of i to the console
cout << p; // same result as above
cout << *p; // outputs the value pointed to by p (5)
*p = 10; // changes the value of i to 10
int *arr = new int n; // creates an array containing
n elements and assigns its address to arr
(dynamic allocation)
delete arr; // deletes the memory space arr points to
(does not delete the pointer itself!)
int i = 5; // declares an integer with an initial value of 5
int *p = &i; // declares a pointer to an integer and assigns
the address of i to it
cout << i; // outputs the number 5 to the console
cout << &i; // outputs the address of i to the console
cout << p; // same result as above
cout << *p; // outputs the value pointed to by p (5)
*p = 10; // changes the value of i to 10
int *arr = new int n; // creates an array containing
n elements and assigns its address to arr
(dynamic allocation)
delete arr; // deletes the memory space arr points to
(does not delete the pointer itself!)
by C++ Master May 17, 2007
Get the pointer mug.by the cam September 21, 2005
Get the having the painters in mug.