baseio.h

来自「eC++编译器源码」· C头文件 代码 · 共 28 行

H
28
字号
/* Erik Kirby; 1/31/90; Operating Systems.
   This is my improved documentation of the BaseIO.def module. It is late 
   because of my late addition of Operating Systems to my schedule.
*/

#pragma BaseIO
#include <SYSTEM.h>

void BitToString ( WORD &item[], /*Needs to be converted*/
                       char &string[], /*The converted item*/
                       unsigned int base) ; /*The radix base of the string*/

/* Convert the bit pattern of an arbitrary item to a string. The string will
   be represented in the radix "base" supplied to the procedure. The maximum
   base allowed is 16. Procedure calls procedure BaseIO.DIVARB.
*/

void StringToBit (WORD &item[], /*The converted string*/
                        char &string[], /*Needs to be converted*/
                        unsigned int base) ;/*The radix base of the string*/

/* Convert a string in an arbitrary base to a bit pattern. The bit pattern
   of the converted string is represented in base 10. The procedure calls
   procedures BaseIO.MULARB, and BaseIO.ADDARB. StringToBit takes a string
   and the radix "base" of the string and converts it into its base 10 bit
   pattern.
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?