วันอังคารที่ 25 สิงหาคม พ.ศ. 2558

console example

console คือ หน้าจอ command

ตัวอย่างการเขียนโปรแกรมออก console

#include <QCoreApplication>
#include <QTextStream>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    QTextStream out(stdout);

    out << "Test" << endl;

    return a.exec();

}


ไม่มีความคิดเห็น:

แสดงความคิดเห็น