Soldato
- Joined
- 10 Apr 2004
- Posts
- 13,497
Basically, I need to get two values out of a function.
How does the pointers malarky work? I've googled for a while now and getting no where.
Where do initialize my pointers? (*x and *y)
Then in the function how do I set the values to these pointers?
Eg. I want *x = one value, *y = another value
And then back in the main function how do I recall these values?
&x gets back 'one value', &y gets back 'another value'.
Cheers, final step in my program and it aint working
How does the pointers malarky work? I've googled for a while now and getting no where.
Where do initialize my pointers? (*x and *y)
Then in the function how do I set the values to these pointers?
Eg. I want *x = one value, *y = another value
And then back in the main function how do I recall these values?
&x gets back 'one value', &y gets back 'another value'.
Cheers, final step in my program and it aint working
