I GET ILLEGAL CHARACTER ''(0*1)
WHEN COMPLING MY PROGRAM IN BORLAND C++ 5.02

Firstly there is no need to use capitals that is generally consider rude as it is normally taken to equate to shouting.

Posting the code will make easier for us to help.

Posting a copy and past of the actual compiler output will make easier for us to help.

I guessing you have a character in your code that is illegal in the context used, that could be because you have used an illegal character or it could be that what you have is legal but there is something missing earlier in the code. From the supplied data all I can tell you to do is carefully check you file and ensure it is all syntactically correct.

Borland C++ 5.02 is now 17 years out of date and predates the first C++ standard, I suggest if you can you use a more up to date standard compliant compiler.