Hello!
I've got simple console application and I've got some questions.
Qt Code:
#include <QtCore/QCoreApplication> #include <QTextStream> QString temp; int main(int argc, char *argv[]) { temp = "test"; out << temp << endl; return a.exec(); }To copy to clipboard, switch view to plain text mode
First - is the order of code correct? Where should be "QCoreApplication a(argc, argv);"? As i assume "return a.exec();" should be at the end?
What about exiting the application? When I run it in console, it works all the time - don't exits.
thanks in advance
best regards
Tomasz
Bookmarks