Quote Originally Posted by eightyfive
the code doesn't need to be changed since it's working in a 32-bit system or at least for me,
since it doesn't involve another datatype than INT, and is not the point of this topic at all.
Err... what is the point of this topic again? I had the impression that you were trying to introduce an idea that you conceded -- from the start -- was unnecessary ("Honestly, there's no reason at all to make something like this"), but for which you wanted comment. You got the comments, and since they weren't all gushing with praise for your idea, you're rejecting them?

Quote Originally Posted by eightyfive
by saying this, you just shown me you have not the minimal idea of what is going on in my code, since you lack the static variables initialization value
Objects with static storage duration are zero initialised at startup. Personally, I think not being explicit was sloppy on Paul McKenzie's part, but the code is actually correct.