Hacker News new | past | comments | ask | show | jobs | submit login

Hmm, I'm not sure what to say. A two dimensional array is an array of arrays. I'm objecting to the idea that two dimensional arrays are some mythical construction.

For instance, the only way to construct a ragged array is with pointers, and then sizeof doesn't "work" to give the complete size. Also, the [][] syntax is one of the places where pointers and arrays are less equivalent than usual. You can't pass a [][] array via star star.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: