[alt.msdos.programmer] Portable C routines

hobbes@Portia.Stanford.EDU (Andrew Zimmerman) (05/11/89)

Is there a standard set of routines in C for the MS mouse?  Right now
I have mouse routines for Zortech C (they are included with the compiler)
and for Turbo-C (as published in Turbo-Technix).  While both sets
provide a reasonable amount of flexibility, they make the C code non-
portable between IBM compilers.  

As a more general question, would it make sense to have a library of
C functions that would allow source to be portable across a large
number of IBM compilers?  This would make it possible to do one
port of software rather then a new port for each compiler.  The
recent port of GNUPlot is an example of this.  Since the port was done to
Turbo-C, I would assume that owners of MicroSoft-C would have to make
some changes to get it to compile.  (I don't have MS-C so I don't know
how much work this entails) (Also, I haven't tried to compile GNUPlot
on Zortech, but from knowing the differences between Flash Graphics (FG)
and BGI it would be a little bit of work).  

Andrew Zimmerman
hobbes@stanford.edu