zoukankan      html  css  js  c++  java
  • c 语言格式输出 浮点数 不要用 整形输出 教训

    融合insert 版本,其实前面两个都没有出错的,在第三个版本,爆出输出

    串的奇怪问题。

    当前总结:

    66

    问什么 就在这里报错,两次没有爆出错误

    看了截图:其实 控制输出格式符号的错误i, 会出现连带错误

    printf("\n %lf %d : time cutoffvalue\n",(EndTime- BegTime)*1000.0 /(double)CLOCKS_PER_SEC ,cutoff);

    //for test..后面可以移除。

    printf("\n a %lf %d : time cutoffvalue\n",(EndTime- BegTime)*1000.0 /CLOCKS_PER_SEC ,cutoff);

    printf("\n b %ld %d : time cutoffvalue\n",(EndTime- BegTime)*1000.0 /CLOCKS_PER_SEC ,cutoff);

    printf("\n c %ld : time \n",(EndTime- BegTime)*1000.0 /CLOCKS_PER_SEC );

    printf("\n d %lf : time \n",(EndTime- BegTime)*1000.0 /CLOCKS_PER_SEC );

    clip_image001

  • 相关阅读:
    C#:字符串(转载9)
    C# 数组(转载8)
    C#:可空类型(转载7)
    XD 05
    eclipse 快捷键 干货
    XD 04
    XD 03
    model, mapper, xml
    02 MyBatis & Druid
    注解 用到
  • 原文地址:https://www.cnblogs.com/titer1/p/2429357.html
Copyright © 2011-2022 走看看