I used Inheritance in my program which was compiled by Borland C++ 5.02 compiler in DOS mode. But a runtime error occurs and the class object cannot be created. I tried the same program in Win32 mode and everything worked fine. But I need to code in DOS mode since I use BGI graphics in my program.
Please Help to solve this issue.