hhhmmm...

Compiler's broken? How is it broken or what's the error msg you get. BTW, the forum isn't going to answer you're questions (from both postings) for two reasons:
1) the forum doesn't do homework. If you have a specific question or problem about your code and you have shown that you have tried to work it out, then you will get help.
2) The shown program isn't complete. What does the intClass class do? It's not shown.
So... let's start with the compiler: how is it broken?
CJSL