Quote:
> Hi all,
> My compiler didn't have a stdlib.h file so I downloaded a stdlib.zip
> from an oak.oakland.edu mirror site. I opened the zip file and got a
> whole directory of various .asm files, an stdlib.a file, an stdlib.lib
file,
> and a document file. In the document file it explains how to include the
> stdlib.a file but there is nothing about how to use it as an stdlib.h
file.
> I am just wondering how do I use this file as an stdlib.h file in my
> programs? Or isn't that possible? If not, then why is this file named
> an stdlib file?
> Thanks for any advice.
> Marilyn
> Writer specializing in science, nature, animals and environment
> http://world.std.com/~marilpok
If stdlib.h did not come with your compiler, then your
compiler is broke. Re-install, get a fresh version of your
compiler from the net, but don't install just another
stdlib.h from somewhere.
The reason for naming the file stdlib is that they provide
an implementation of the standard library. This is always
supplied with your compiler. You don't need it, unless
you are deeply involved into compiler/library/system
development.
Check your installation again. It is probably in some
INCLUDE directory (/usr/include on UNIX, \<PACKAGE>\INCLUDE
on most DOS systems). If you find it in there, then it's
just a compiler-flag/environment variable to give your
compiler a hint. Check your manual.
Marco.
---------------------
Working on a laptop in a plane causes a crash of the latter (not the
former).