
c++,c
Graduate_2017
不管学什么都有能力让自己热爱下去
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
编程基础知识(持续更新)
1.单位换算 1Byte=8Bit 1Byte/s=8Bit/s 1word=2Bytes (有争议说只有系统数据N为16位时,否则1word=N/8)原创 2017-05-11 20:24:20 · 614 阅读 · 0 评论 -
测试数据类型的长度代码
在不同的系统中 int long ,float,double类型数据的长度都不一样,可以用sizeof()函数得出他们的长度。注:引用头文件#include ,单位为字节。 printf("Please input the data ang click 'enter'\r\n"); printf("short=%d\n\n",sizeof(short)); printf(原创 2017-08-04 11:40:19 · 2407 阅读 · 0 评论