C++ (Qt)QVector <QLineEdit*> l(200); for (int i = 0; i <200; ++i)l[i] = new QLineEdit(); l[i]->setText("bla-bla-bla");