zoukankan      html  css  js  c++  java
  • 整理出的各种类型的字节数

    // LINUX中 GCC类型长度(字节)
    // type         x86_sizeof(type)    x64_sizeof(type)
    // char         1                   1
    // short        2                   2
    // int          4                   4
    // long         4                   8
    // void*        4                   8
    // long long    8                   8
    // float        4                   4
    // double       8                   8

    //__GNUC__
    /nux
    //__i386__  是x86
    //__x86_64__  是X64


    //windows VC编译器
    // type         x86_sizeof(type)    x64_sizeof(type)
    // char         1                   1
    // short        2                   2
    // int          4                   4
    // long         4                   4
    // void*        4                   8
    // long long    8                   8
    // float        4                   4
    // double       8                   8
  • 相关阅读:
    【解题报告】2019正睿Day2
    如何卡SPFA
    【游记】2019国庆清北刷题营
    CF427D Match & Catch
    P2178 [NOI2015] 品酒大会
    Loj#6071. 「2017 山东一轮集训 Day5」字符串
    SP8093 JZPGYZ
    P3346 [ZJOI2015]诸神眷顾的幻想乡
    CF1037H Security
    CF932F Escape Through Leaf
  • 原文地址:https://www.cnblogs.com/wangchenggen/p/3732565.html
Copyright © 2011-2022 走看看