阅读背景:

for循环Qt c ++中的总和不正确

来源:互联网 

Following c++ code in qt is used by me to add values to an integer(initial value 10) and store it in a QStringList. But when I print the values of the StringList on to 3 labels it prints 10 on all lables though it should be 20,30 and 40 since I increment a by 10 through the for loop!Following c++ code in qt is used by me to add v




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: