+ 6
May someone explain me what a pointer is?
5 odpowiedzi
+ 6
variable is just like a variable which is stores the address of the variables. the address always be in integer value it doesn't matter that variable is integer,float,char etc. it always store the address in the integer values.
+ 8
A pointer is a variable that stores the address in memory of other variables.
EDITED:
http://www.thegeekstuff.com/2011/12/c-pointers-fundamentals/
+ 4
https://en.m.wikipedia.org/wiki/Pointer_(computer_programming)
+ 4
I need to use them more.
Pointers can be a great asset to C++ programs.
+ 2
Pointers allow for indirection when manipulating data, in other words a pointer provides an indirect means of accessing the value of a variable. Pointers are very powerful, but are often misunderstood and misapplied. If I sound like I understand pointers, well I might a bit, but not as much as I could or even should. I'm still learning about pointers all of the time.
Read up on pointers and try them out.