+ 1
array on heap, pointer
I would like to create a multidimensional array on the heap. and access it from different points of my program. enviroment says error due to scope problems. could any of u show me how to do that?
1 Antwort
- 1
If you must access it from many different points you could make it in global scope. But this could also lead to hard to fix errors. But for short run it could be easier to implement it this way