cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Need help in using a STL list and polymo
Page 2
Need help in using a STL list and polymorphism
Pages:
1
2
Dec 19, 2012 at 2:21pm UTC
Volatile Pulse
(1543)
You also have a memory leak in your X class. You have no dtor, but you should implement one and delete every A pointer. This should clear up the memory leak issue.
Topic archived. No new replies allowed.
Pages:
1
2