I think it some address who refers to another address. it is like a person who is referring to another person. Multi pointer is some sort like a new moved person refering to another person, and you didn't found it. he will going to point you to another person.
This may confuse you if you don't know programming but let me explain.
In programming there is a "Stack" and a "Heap".
Quote:
The Stack is more or less responsible for keeping track of what's executing in our code (or what's been "called"). The Heap is more or less responsible for keeping track of our objects.
There these types are stored
Quote:
Value Types:
(System.ValueType):
bool
byte
char
decimal
double
enum
float
int
long
sbyte
short
struct
uint
ulong
ushort
Reference Types:
(System.Object object):
class
interface
delegate
object
string
The third "thing" stored is a pointer. A pointer refers to a value type.
This may clear up things a bit.
Quote:
The third type of "thing" to be put in our memory management scheme is a Reference to a Type. A Reference is often referred to as a Pointer. We don't explicitly use Pointers, they are managed by the Common Language Runtime (CLR). A Pointer (or Reference) is different than a Reference Type in that when we say something is a Reference Type is means we access it through a Pointer. A Pointer is a chunk of space in memory that points to another space in memory. A Pointer takes up space just like any other thing that we're putting in the Stack and Heap and its value is either a memory address or null.
Oh just to let you know I got all this info from this site (c-sharpcorner), this is a C# site but that things are the same.
I chose what to quote to cut the work for you.
EDIT: I simplified some things.... _________________
every thing saved in memory has an address.
which is used to refer it.in 32-bit system address is 32-bit in size(4 BYTE).
in 64-bit system it is 64-bit (8 BYTE).
but a game contain more data that can be handled by remembering address
So similar data is grouped together.block of such data is known as Structure(in C) or class(in object oriented language like JAVA and C++).
a pointer variable is like other variable (contain value) with slightly difference
that it is used store the address of another variable.
suppose you have health at address 0X55555555 (0x is used to denote that
value is in Hexadecimal number system).them pointer to health is an variable whose value is 0x55555555.
when structure is used then pointer have base address(address of first byte of structure) of structure.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum