文件名称:Augest-3
介绍说明--下载内容均来自于网络,请自行研究使用
VC++代码开发的C编译器源代码,名字就叫做Augest-3吧,可用来简单编译C扩展名的文件,代码中由于用了union,定义的变量占用4字节的内存,也就是说f和by4是共用这4字节内存的。对浮点的转化变得异常简单,union UFLOAT// 用以快速转换的自定义UFLOAT变量,一些运算
下面这段代码将fNum转成4字节插入到byBuf中:uf.f=f // 将要转换的浮点数放入UFLOAT变量,此时uf.by[]数组也被赋值了,因为内存是共用的。-VC++ code developed by the C compiler source code, the name of it called Augest-3 can be used to compile a simple C extensions, the code due to the use of the union, defined variables occupy 4 bytes of memory, that f and by4 are shared four bytes of memory. Converted to floating point becomes extremely simple, union UFLOAT// variables to customize UFLOAT rapid conversion of some operations
The following code will fNum turn into four byte into byBuf in: uf.f = f // will be converted into UFLOAT floating point variable, then uf.by [] array have been assigned, because the memory is shared.
下面这段代码将fNum转成4字节插入到byBuf中:uf.f=f // 将要转换的浮点数放入UFLOAT变量,此时uf.by[]数组也被赋值了,因为内存是共用的。-VC++ code developed by the C compiler source code, the name of it called Augest-3 can be used to compile a simple C extensions, the code due to the use of the union, defined variables occupy 4 bytes of memory, that f and by4 are shared four bytes of memory. Converted to floating point becomes extremely simple, union UFLOAT// variables to customize UFLOAT rapid conversion of some operations
The following code will fNum turn into four byte into byBuf in: uf.f = f // will be converted into UFLOAT floating point variable, then uf.by [] array have been assigned, because the memory is shared.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Augest-3\Augest.clw
........\Augest.cpp
........\Augest.dsp
........\Augest.dsw
........\Augest.h
........\Augest.rc
........\AugestDoc.cpp
........\AugestDoc.h
........\AugestView.cpp
........\AugestView.h
........\Compiler.cpp
........\Compiler.h
........\C_Compiler.cpp
........\C_Compiler.h
........\FTreeView.cpp
........\FTreeView.h
........\LeftView.cpp
........\LeftView.h
........\MainFrm.cpp
........\MainFrm.h
........\ReadMe.txt
........\resource.h
........\RightView.cpp
........\RightView.h
........\StdAfx.cpp
........\StdAfx.h
........\ToolDlg.cpp
........\ToolDlg.h
Augest-3