Posted By: PrenceOfDarkness
pointing to an array - 04/25/08 06:51
I never would have thought I'd ever have to do something like this, but I guess the time has come and I can't seem to figure it out. Before you tell me to pick up a C++/C book let me say I've already tried that but they don't really explain it to clearily.
How do I point to an array? How would I then pass that pointer on to a function? I'd assumed it's just like every other pointer but I'm having problems. How can I change different array values using the pointer?
If you could give examples using the "var" variable type it would great.
If anyone knows a text I can find all theses answers in please let me know.
How do I point to an array? How would I then pass that pointer on to a function? I'd assumed it's just like every other pointer but I'm having problems. How can I change different array values using the pointer?
If you could give examples using the "var" variable type it would great.
If anyone knows a text I can find all theses answers in please let me know.