This is a small program so i have pasted all of it..The problem it is stating is that the count is undeclared in both the constructor & destructor...but i have already globaly deaclred it...need help..thanks..with an explanation..
using namespace std;
cout << "no of objects created" << count;
cout << "no of objects destoryed" << count;
cout << "Enter main";
cout << "Enter block1";
cout << "Enter block2";
cout<< "Re-enter main";