In C++, is there a way to convert a float**
to a float[][]
type? I also would like to know how to convert it the other way around too.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
|||
You don't need to convert anything. Just dereference it by
Be careful to don't touch out-of-bound items which didn't allocate. |
||||
|
you can look here to see some more examples, but basically as M M said, you don't need to convert and you can always do:
same with 2 dimensional arrays |
|||
|
**
– Karthik T Aug 13 '13 at 6:36