小编Fal*_*ina的帖子

什么是一个易于使用的Linux上C++的分析器?

我需要在Linux上分析一些运行C++的代码.你们能推荐一些个人资料吗?

c++ linux profiler

76
推荐指数
6
解决办法
7万
查看次数

为什么x和y总是带浮点数?

int main(void){
    float x =1;
    float y =2;
    while (x<y){
        x = x +1 ;
        y = y +1;
}
    printf("x is %d\n", x);
    printf("y is %d\n", y);
}
Run Code Online (Sandbox Code Playgroud)

我希望x和y增加到我们用完的位数,但在这种情况下,似乎x和y总是0 ...

c floating-point

1
推荐指数
2
解决办法
1046
查看次数

标签 统计

c ×1

c++ ×1

floating-point ×1

linux ×1

profiler ×1