Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
mandruk1331 last edited by
I have a problem, when I run the program by pressing ctrl+r with the help of qdebug()<<var; I see that my variable has trash in it(-12321+e smth like this), but when I run the program again in the debug mode it shows that the variable has the value which I need and the qdDbug()<<var; shows the value which I want. What can cause such situation???
Did you initialize
var? How did you set the value which you want?
mandruk1331 last edited by mandruk1331
@JKSH Yes the value has been initialized. I init. with some minor calculations such as:
QVector <double> B;