What does "all indexing is based on 1"
i know that C automatically does everything based on 0, how do i get it to 1?
do i just go
/code
for(i=0; i<(s->len); i++)
does this make some sense?
What does "all indexing is based on 1"
i know that C automatically does everything based on 0, how do i get it to 1?
do i just go
/code
for(i=0; i<(s->len); i++)
does this make some sense?
You want to start at 1 just make i = 1. But the reason you ussually see this is because
1) Arrays start at 0 not at 1.
2) That is a kinda of a standard for, for loops structure.
Woop?