Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multidimensional Array declaration #351

Open
HuskyNator opened this issue Dec 22, 2020 · 0 comments
Open

Multidimensional Array declaration #351

HuskyNator opened this issue Dec 22, 2020 · 0 comments

Comments

@HuskyNator
Copy link
Contributor

The tour skims over a pitfall I had issues with yesterday, namely that arrays are declared quite differently from the way they often are in other programming languages, even though multidimensional arrays are briefly mentioned.
If I understand correctly for example, the last element of an array defined as; int[2][4] foo is accessed using foo[3][1], as opposed to foo[1][3].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant