Why I am getting a Heap Corruption Error?
- by vaidya.atul
I am new to C++. I am getting HEAP CORRUPTION ERROR. Any help will be highly appreciated. Below is my code
class CEntity
{
//some member variables
CEntity(string section1,string section2);
CEntity();
virtual ~CEntity();
//pure virtual function ..
virtual CEntity* create()const =0;
};
I derive CLine from CEntity as below
…