Win / TheDonald
Sign In
DEFAULT COMMUNITIES All General AskWin Funny Technology Animals Sports Gaming DIY Health Positive Privacy
Reason: None provided.

Mr. “Bracket zero bracket”:

No, you dumbass, operator[] (or some overload it) is exactly how you query the first element of an array in C, C++, or C#. They teach that the first day of array math in 101 courses but you must have skipped.

EDIT: For the curious centipedes, here’s an example.

Consider an array named Field. Field has 3 Potatoes. If I wanted to go through Field to get to the first Potato planted in the Field, I would write Field[0]. As defined here, Field[0] means, “get the first element (Potato) of the data stored in Field”.

122 days ago
5 score
Reason: Original

Mr. “Bracket zero bracket”:

No, you dumbass, operator[] (or some overload it) is exactly how you query the first element of an array in C, C++, or C#. They teach that the first day of array math in 101 courses but you must have skipped.

122 days ago
1 score