How to declare objects in c++ iam getting declaration errors i declare like sally so;