Chapter 5
Chapter 5
Chapter 5
Chapter 5
Chapter 5
Software
33
Turbo C
The
following
examples
show
you
how
to
compile
and
link
the
interface
for
different
modes
using
Turbo
C.
DOS Command Line
Small
Mode
:
TCC
-ms
file.c
813cs.lib
Compact Mode
:
TCC -mc file.c 813cc.lib
Medium Mode
:
TCC -mm file.c 813cm.lib
Large Mode
:
TCC -ml file.c 813cl.lib
Integrated Development Environment
You
will
need
to
use
a
general
text
editor
to
create
a
project
file
with
the
extension
name
“PRJ”,
for
example
813.PRJ,
which
contains
the
corresponding
mode
interface
and
your
program
list.
Small
Mode
:
The
project
file
should
contain
813cs.lib
Compact Mode
:
The project file should contain 813cc.lib
Medium Mode
:
The project file should contain 813cm.lib
Large Mode
:
The project file should contain 813cl.lib
Borland C++
The
following
examples
show
you
how
to
compile
and
link
the
interface
for
different
modes
using
Borland
C++.
DOS Command Line
Small
Mode
:
BCC
-ms
-c
file.c
813cs.lib
Compact Mode
:
BCC -mc -c file.c 813cc.lib
Medium Mode
:
BCC -mm -c file.c 813cm.lib
Large Mode
:
BCC -ml -c file.c 813cl.lib
Integrated Development Environment
In
Borland
C++’s
integrated
environment,
just
pick
the
“Project”
menu
to
create
a
project
file
and
add
the
corresponding
mode
interface
to
it.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com