By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,337 Members | 1,902 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,337 IT Pros & Developers. It's quick & easy.

please help me..

P: 11
Hi evry one..
i don't know how am i going to destruct an object of array.. (the size given by the user ),,

when i write in the destructor
delete [] P;

the compiler print :
error: 'P' : undeclared identifier
error: delete : cannot delete objects that are not pointers

how am i going to define the object in the class...???
Nov 13 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.