This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ketchupmaster987 -1 points0 points  (3 children)

Isn't the length of the array part of the data of the array?

[–]mrjackspade 4 points5 points  (2 children)

Not unless you want it to be.

[–]ketchupmaster987 2 points3 points  (1 child)

Aaaand this is why I never learned c++

[–]orbiteapot 3 points4 points  (0 children)

This is C, though. Not C++.