So I have a multi-dimensional array, and I want to pass a reference of it to another function so that the array is defined in the scope of the function, because the array is not a global variable.
If I can remember correctly, the syntax looks a little like this:
reset(int &Board[][])
I'm not sure what to put inside the indice boxes either... Does anyone have any suggestions. I'm going to look on google a bit as well right now.
zoner7 22 Junior Poster
architact 25 Junior Poster
Radical Edward 301 Posting Pro
jim2008 0 Newbie Poster
zoner7 22 Junior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
zoner7 22 Junior Poster
Radical Edward 301 Posting Pro
Ancient Dragon commented: You are right! :) +30
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.