macos - 关于in、Linux、mac等系统的系统整型字节数
ringa_lee
ringa_lee 2017-04-17 13:45:07
0
1
870

in、Linux、mac等系统是不是所有的系统整型字节数都是4?字符类型都是两个字节?如果有例外,麻烦举例说明

ringa_lee
ringa_lee

ringa_lee

répondre à tous(1)
左手右手慢动作

和操作系统、CPU无关,和编译器有关,turbo c的int就是2字节的。你编译了程序拿到windows 8(注意只有windows 8 32bit可以运行16位程序)跑,用Intel Core i7支持64位的处理器,还是2个字节。

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!