metodo C++
------------------------------------
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Test cout";
return a.exec();
}
-------------------------------------metodo Qt
-------------------------------------
#include <QTextStream>
int main(int argc, char *argv[])
{
QTextStream cout(stdout);cout << "Couldn't open file" << endl;}
Nessun commento:
Posta un commento