Hello all!
I'm have some expirience in pure C++ programming
and I have basic knowlegde about dynamic memory allocation
For example if I want to create table wih X int elemtens I use
int *pint = new int[X]; // later - delete [] pint;
but in Qt there are a lot of dynamic objects, for example shoud I use new
operator for QList class
QList *myList = new QList; or
QString * myString = new QString;
or just
QList myList;
QString myString;
so my question is - when should I use new operator in Qt?
Bookmarks