Syntax for returning multi-dimensional array by reference in C++ -


i've been killing myself trying figure out syntax returning 2 dimensional array reference in c++, i've been getting weird errors. i've searched lot online, couldn't find syntax returning reference specifically. of please me? lot!

some soul helped me out, never have guessed this:

type (&scope::getarray())[x][y] 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -