0
How to go about using a calculation void function to place the values in an array?
I've created a calculation within a void function, but having difficulty calling that function within an array function. The size of the array is depended on the number of values created by the void function. Any suggestions? v/r Sherwin Slaughter
2 Answers
+ 1
Give the void function a pointer to an array where you can store the location of the new array you create in the function. You'll probably have to manually allocate the memory though, otherwise the array will be deleted after the void function is done.
0
I'll give that a try, thank you.