posted 18 years ago
Just a gentle note... it would help in the future if you also posted the exact compilation error message. for something as small as this, it might not matter much, as it's fairly easy to see. But the bigger your code gets, the more important it becomes.
those error messages often give a pretty big clue as to what the problem is, so it's a good idea to start learning what they mean.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors