Thanks high_flyer.
A stringstream has /n ? If yes, the problem can solved...
But then I have another problem,
w_debug()<<"1"<<"2"<<"3"; and
w_debug()<<"4"<<"5"<<"6";
gives me :
123456
and I'd want
123
456
Perhaps this can hellp :
Cout needs to receive and endl because if not there is no line feed.
cout<<"hello"<<"how are you"<<endl;
But qDebug NOT :
qDebug()<<"hello"<<"how are you";
SO ..... what kind of magic is there in qDebug ?
I only can think that there is an internal 'decector' on sentences of execution code. Becasue if not I dont understand how can be posible.
Thanks
Bookmarks