I tried the exact same code in VS 2017 and recent Qt-Creator. The code produces correct output in VS put failed to do so in Qt.
My Code: https://pastebin.com/rQEXHehu
Here the output:
https://ibb.co/csin5x (VS)
https://ibb.co/hOjukx (QT)
Do you know why this happens? Code is a exact 1:1 copy.
I tried the exact same code in VS 2017 and recent Qt-Creator. The code produces correct output in VS put failed to do so in Qt. My Code: https://pastebin.com/rQEXHehu Here the output: https://ibb.co/csin5x (VS) https://ibb.co/hOjukx (QT) Do you know why this happens? Code is a exact 1:1 copy.