posted 12 years ago
Why don't you tell us what problem you have. Does this compile? Does it run? Does it bomb when it runs? Does it produce the wrong output?
We can't really help you without knowing what the problem is, without going through the trouble of compiling and running it, and even then, we may not find the same problem you do.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors