Paste
Pasted as C++ by registered user raphael ( 3 years ago )
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QList>
#include <string>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QList<int> ma_liste = {1,2,3,4,5};
for(QList<int>::iterator iter = ma_liste.begin(); iter!=ma_liste.end(); iter++){
qDebug()<<*iter;
}
return a.exec();
}
Revise this Paste