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>
void fonctionQT(QDateTime time, int nb_jours){
qDebug()<<time.addDays(nb_jours);
}
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QDateTime madate = QDateTime::currentDateTime();
fonctionQT(madate,50);
return a.exec();
}
Revise this Paste