Dec 192017
This file contains standard.h which is designed to fix some problems with the C language and to provide a basis for portable code. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
README.1ST | 1829 | 883 | deflated |
STANDARD.H | 11816 | 2971 | deflated |
Download File STNDRDH.ZIP Here
Contents of the README.1ST file
This zip file contains standard.h which is designed to fix some problems
with the C language and to provide a basis for portable code. In this case
portability is based, not on the assumption as in PASCAL that integers are
mathematical objects, but rather on the assumption that computer hardware is
converging on a set of standards for primitive object formats. Further it is
assumed that the programmer is actually more used to working with mathematical
numeric objects which are always treated "modulo" instead of "infinite".
It is assumed that all type names, language keywords, functions and
paramertized macros are mixed case, but start with an upper case letter.
Also, it is assumed that all data element names and simple macros are
mixed case but start with a lower case letter. Simple macros are NOT all
upper case as in the common coding conventions because it is desirable to
define a constant as a macro and then change it to a data element WITHOUT
changing every reference. Further more the "Hungarian" type notation is
not used because I feel that it makes programs MUCH harder to read, and
an editor "hot-key" to a definiton statement is many times more effective.
This header file must be customized for each compiler, operating system
and machine. However, except for VERY old or "tiny" compilers, I have not
found a practical system to which it will not easily convert. This means
that a programmer can rely on hardware assumptions mentioned here to obtain
efficient code without giving up portability.
This header file is placed in the public domain with the intention that
it help improve general portability. I do NOT provide any programming
support for this header file. I hope it will prove useful.
Michael Lee Finney
with the C language and to provide a basis for portable code. In this case
portability is based, not on the assumption as in PASCAL that integers are
mathematical objects, but rather on the assumption that computer hardware is
converging on a set of standards for primitive object formats. Further it is
assumed that the programmer is actually more used to working with mathematical
numeric objects which are always treated "modulo" instead of "infinite".
It is assumed that all type names, language keywords, functions and
paramertized macros are mixed case, but start with an upper case letter.
Also, it is assumed that all data element names and simple macros are
mixed case but start with a lower case letter. Simple macros are NOT all
upper case as in the common coding conventions because it is desirable to
define a constant as a macro and then change it to a data element WITHOUT
changing every reference. Further more the "Hungarian" type notation is
not used because I feel that it makes programs MUCH harder to read, and
an editor "hot-key" to a definiton statement is many times more effective.
This header file must be customized for each compiler, operating system
and machine. However, except for VERY old or "tiny" compilers, I have not
found a practical system to which it will not easily convert. This means
that a programmer can rely on hardware assumptions mentioned here to obtain
efficient code without giving up portability.
This header file is placed in the public domain with the intention that
it help improve general portability. I do NOT provide any programming
support for this header file. I hope it will prove useful.
Michael Lee Finney
December 19, 2017
Add comments