Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as C++ by registered user raphael ( 1 year 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

Your Name: Code Language: