Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

qDebug "breaks" outputting a char with value 0?

$
0
0
Care to guess what would the output of this code be?     char c = 0;     for (int i = 0; i < 4; ++i) qDebug() << c << i << endl; A hint – there is no output… as of why, it will be nice if someone briefly explains the internals of qDebug and what is the reason for this behavior…

Viewing all articles
Browse latest Browse all 13965

Trending Articles