M
Mike Wahler
jacob navia said:No. You do not want it?
Do not include
#include <stdlist.h>
And that will magically delete the object code for
the list, huh?
The language is written according to that principle.
I can write in C:
#include <mystdio.h>
and the whole input/output of my program can be completely different
IN C.
Yup.
The whole library is optional. If you do not use the floating
point library (math.h) you just do not write:
#include <math.h>
And the actual code for those functions still resides on my
disk.
and all names are still available to you
And if I *do* need the stuff declared by said:and it is a legal
program.
You can then write:
myfloat mysin(myfloat arg);
and you can code the sinus function
'Scuse me while I blow my nose.
using only integer operations
and table lookups.
But what... You do not use third party libs?
I use them extensively, in virtually every nontrivial program.
These libraries are not standard. This bothers me not at all.
I would like just a standard lib, i.e. that has the same
interface in all implementations.
Then create one. If you want standardization, approach standards
bodies. This newsgroup is not such a body.
A first step would be to
review those libs and put the best in the FAQ.
Doesn't the FAQ already have links to various tools and resources
such as libraries?
The FAQ could be used as a repository of programs
Then it would cease to be a FAQ, it would be something else.
that give
a common interface, is well tested and proposed as a standard lib.
Make all the proposals you like. But wouldn't it be more productive
to posit your ideas to those who write standards, instead of the
population of comp.lang.c, who are here to discuss the existing
C language?
Programs could be more portable if we extend standard C.
Perhaps. Go to comp.std.c and make your proposals. At least
there, they'd be topical.
Standards enhance the software by increasing portability.
That is one of many benefits of standardization.
-Mike