Your point is that you want to do it backwards. You said "what do you think of intitializing the start", I said that the feature already exists.
I still stand by my previous statement: It's...
Type: Posts; User: quzah
Your point is that you want to do it backwards. You said "what do you think of intitializing the start", I said that the feature already exists.
I still stand by my previous statement: It's...
You already can just initialize the start of an array. It's been in the standard forever. Anything you don't initialize is set to zero.
int foo[5] = { 1, 2 }; /* 0, 0, 0 are the last three */
...
I can't possibly think of a use for initializing only the end of an array.
Quzah.