My text tells me how to pass and receive a one-dimensional array
pass: myFunction(arrayName)
catch: returnType myFunction(type arrayName[])
BUT, how would I do this with, say, a 2-d array? My text doesn't give such an example.
Thanks!
This is a discussion on Passing/catching a multidimensional array within the C++ Programming forums, part of the General Programming Boards category; My text tells me how to pass and receive a one-dimensional array pass: myFunction(arrayName) catch: returnType myFunction(type arrayName[]) BUT, how ...
My text tells me how to pass and receive a one-dimensional array
pass: myFunction(arrayName)
catch: returnType myFunction(type arrayName[])
BUT, how would I do this with, say, a 2-d array? My text doesn't give such an example.
Thanks!
Nevermind, I found the answer... I recognized it quickly, guess I had just forgotten.
Thanks anyways