pointer C++

Feb 27, 2016 at 2:04am
int X,Y

* (dat->Data + X + ( long ) Y *dat->Cols =
* (FILTER->DATA + X + (long ) Y
* dat->Cols )

I am having trouble to understand to following Code. What the pointers for ?
And what are the use of these ?
Can You Please Explain ?

Can you break it down and explain for me ?
Last edited on Feb 27, 2016 at 10:32am
Feb 27, 2016 at 3:22am
pointers point at the actual address of the variable you are pointing at.
when you declare a variable you give it space in memory and it goes to something called the stack. you can see exactly where in memory your variable is with pointers.- you should have a quick google search it will make sense with examples (easier ones then what you have)

Feb 27, 2016 at 10:26am
What in my code if we break down and what about pointer in my code ?
Feb 27, 2016 at 11:36am
Anyone help please??
Topic archived. No new replies allowed.