+ 1

Array

How is a 5 byte array = 4?? I’m so confused! Damn you C++!

20th Dec 2017, 8:35 PM
Aiden Yi
Aiden Yi - avatar
5 Antworten
+ 6
could this be somthing to do with arrays starting from 0 1 2 3 4?
20th Dec 2017, 8:49 PM
D_Stark
D_Stark - avatar
+ 6
😜 your welcome done this many times myself
20th Dec 2017, 8:51 PM
D_Stark
D_Stark - avatar
+ 6
Don't be harsh on yourself Aiden, I think nearly every programmer has been there.
20th Dec 2017, 9:50 PM
Duncan
Duncan - avatar
+ 3
Oh my gosh, I’m stupid. I just now remembered 0,1,2,3,4
20th Dec 2017, 8:50 PM
Aiden Yi
Aiden Yi - avatar
+ 3
Yep I fall victim to that one all the time when switching languages. it would be nice if they would all just find a standard.
21st Dec 2017, 12:50 AM
Michael Simnitt
Michael Simnitt - avatar