I have 3 files containing classes, let's say - A, B and C. B and C both contain the file A as they are subclasses of A, using the "#include file " directive. I am facing a problem if a page contains both B and C, it is saying 'Class A: name redefined'.
This is obviously happening because both B & C have copies of A, and they are clashing. Is there a way to specify to include only one copy of a file for an ASP page ? Something like the 'require_once' directive of PHP ?