大家好,
我在使用COSMIC C编译器在STVD中使用double或float数据类型时遇到了一些问题。
我能够声明这些数据类型但是当我开始调试并想要观察变量时,STVD显示了奇怪的值。例如,简单划分5.0 / 3.0在1中解决,... E-37就像0。
使用float数据类型具有相同的效果。
我正在使用断点和“快速观察”命令。
丹尼斯
以上来自于谷歌翻译
以下为原文
Hello all,
I`m having some issues using the double or float datatype in STVD with the COSMIC C compiler.
I am able to declare those data types but when i start debugging and would like to watch the varibles, STVD shows weird values. for example the simple division 5.0 / 3.0 resolutes in 1,...E-37 which is something like 0.
Using float data type has the same effect.
I was using break points and the command 'quick watch'.
Dennis