c++ - console app behaviour in Qt -


hi i'm trying see if qt creator running properly, happens when create new project in qt , choose qt console application , change main to:

#include <qtcore/qcoreapplication>  int main() {      return 0; } 

then runs no errors console window appears less second, flashes once , closes. normal or supposed wait me press key close?

no that's normal, there's no activity happening creates application, no lines of code returns 0 , exits.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -