Vincenzo
19th March 2009, 19:17
Hi,
If i want write result of program to a file (Linux), i use the following command:
./prog > file.txt
It saves only those lines where i use the std::cout in source, but if i use the qDebug() this doesn't save anything at all. Suprisingly in command line both of them works without any problem. Of course i can use the first one, but it's odd.
Any suggestion?
If i want write result of program to a file (Linux), i use the following command:
./prog > file.txt
It saves only those lines where i use the std::cout in source, but if i use the qDebug() this doesn't save anything at all. Suprisingly in command line both of them works without any problem. Of course i can use the first one, but it's odd.
Any suggestion?