You're missing a body for your constructor and your destructor. Did you implement them?