投稿后可以撤稿吗:查看float类型在内存中的表示方式(IEEE)
来源:百度文库 编辑:偶看新闻 时间:2024/04/29 17:50:15
#include
#include
//#include
void printFloat();
//void printDouble();
int main()
{
printFloat();
system("pause");
}
void printFloat()
{
float f;
printf("please input a float: \n"); //input a float
scanf("%f", &f);
int* p = (int*)&f; //(int*) p point to a float addr
printf("In Memory f is: %x", *p); //print the float using int type(hex)
}
对象在内存中的表示
用float表示 类型,用char表示 类型。
在内存中的病毒
数据在内存中的问题
-10怎么在内存中表示?
整型常量怎么在内存中表示-32768
"float 类型可表示精度为7位"是什么意思?
如何删除存留在内存中的“爱情后门”病毒。
程序调用系统API在内存中的过程
int a[2][3] 在内存中的排列
如何清除驻留在内存中的DOS程序?
在内存中的病毒怎么杀,详细解答
怎样查看电脑中的同类型文件
在C语言中,char型数据在内存中的存储形式是()
【19】在C语言中,char型数据在内存中的存储形式是( )
【19】在C语言中,char型数据在内存中的存储形式是( )
临时文件夹在内存or外存?
病毒在内存里怎么办
病毒在内存里怎么办?
怎么将SQL中的 BINARY 类型的值表示出来?
图象是以什么方式表示工作表中的数据???
设置挂起类型中的挂起是什么?有几种方式呀?
XP系统中的文件查看方式的问题!
资源管理器中的进程" wowexec.exe"这个进程,且在内存使用位置没有任何显示。