鱼C论坛

 找回密码
 立即注册
查看: 4388|回复: 2

貌似VC++6.0没有全面支持 C99

[复制链接]
发表于 2013-1-12 19:53:56 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
用《C Prime Plus》这本书里面看到一组代码VC++6.0居然会报错代码我反复对了6遍肯定没问题 不信可以自己下这本书,在第4章67页
#include <stdio.h>
#include <limits.h>    // integer limits
#include <float.h>     // floating-point limits
int main(void)
{
    printf("Some number limits for this system:\n");
    printf("Biggest int: %d\n", INT_MAX);
    printf("Smallest unsigned long: %lld\n", LLONG_MAX);
    printf("One byte = %d bits on this system.\n", CHAR_BIT);
    printf("Largest double: %e\n", DBL_MAX);
    printf("Smallest normal float: %e\n", FLT_MIN);
    printf("float precision = %d digits\n", FLT_DIG);
    printf("float epsilon = %e\n", FLT_EPSILON);
   
    return 0;
}
小甲鱼最新课程 -> https://ilovefishc.com
发表于 2013-1-12 20:39:14 | 显示全部楼层
vc6.0不支持
小甲鱼最新课程 -> https://ilovefishc.com
发表于 2013-1-12 20:58:33 | 显示全部楼层
用c free的无压力……经验证  没有出现错误……{:1_1:}
小甲鱼最新课程 -> https://ilovefishc.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-8-9 08:40

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表