Hi, 

Im trying to make a function that return a 2D array that size are dependent to 
the other parameter eg:

Color[][] scan( width, height)

so the method will return a Color[width][height] object. But i notice that this 
way is not working in C++. What is the best way to do this? Why cant i return a 
2D array?

Thanks in advance 


      

Reply via email to