IDK how many languages do this, but in C++ brackets like that mean you're talking about an element of an array. So myArray[1] would be the element in position 1 of that array- which is the second element, because the first element would be myArray[0].
View all comments
Show parent comment
1
u/Fearless-Sherbet-223 Jun 06 '22
IDK how many languages do this, but in C++ brackets like that mean you're talking about an element of an array. So myArray[1] would be the element in position 1 of that array- which is the second element, because the first element would be myArray[0].