Destuctors and allocated memoryThank you
Destuctors and allocated memoryThanks for all the answers, explanations and suggestions; it works perfectly using [code]vector<stri...
Destuctors and allocated memorymain.cpp
correct use of deleteThank you - a great answer indeed.
correct use of delete[quote]Of course, in this trivial example, you don't need pointers at all and can just push normal i...