📄 readme.txt
字号:
Classical Data Structures
Here are my recommended compilation commands for
various common microcomputer compilers:
Unix/Linux/DJGPP:
gcc -Wall -ansi -pedantic -c -o foo.o foo.c [-lm]
Microsoft C (any 16-bit version including VC1.0 and 1.5):
cl -AL -W4 -Za -Zi -Od -c foo.c
(NB early versions don't support -W4, so use -W3 instead)
Microsoft C (any 32-bit version):
cl -W4 -Za -Zi -Od -c foo.c
Turbo C (any 16-bit version):
tcc -ml -A -c foo.c
Borland C (any 16-bit version):
bcc -ml -A -c foo.c
Borland C (any 32-bit version):
bcc32 -A -c foo.c
(Of course, none of these /links/ your code.)
Here's a quick summary of all the source in this
directory. Several of the source files are used in
more than one program. Some of the source files
are mere fragments, not intended for compilation.
You may get a few warnings when compiling the code.
None are anything terrible, but one is rather confusing.
It happens in Microsoft VC5Pro, and it's to do with
floating point overflow on values such as 1.0 and -1.0.
You may consider multiplying by -1.0 to be a very
dangerous practice, in which case no doubt you will
treat this warning seriously.
Listing SLLISTMN is a project comprising the following files:
sllistmn.c
sllist.h
sllist.c
The SLLIST library code is designed to be re-usable in other projects.
Listing DLLISTMN is a project comprising the following files:
dllistmn.c
dllist.h
dllist.c
The DLLIST library code is designed to be re-usable in other projects.
Listing DLLISTEG is a project comprising the following files:
dllisteg.c
dllist.h
dllist.c
Listing CLISTMN is a project comprising the following files:
clistmn.c
clist.h
clist.c
The CLIST library code is designed to be re-usable in other projects.
Listing CLISTMN2 is a project comprising the following files:
clistmn2.c
clist.h
clist.c
Listing STACKMN is a project comprising the following files:
stackmn.c
stack.h
stack.c
sllist.h
sllist.c
strarr.h
strarr.c
The STACK library code is designed to be re-usable in other projects.
Listing QUEUEMN is a project comprising the following files:
queuemn.c
queue.h
queue.c
sllist.h
sllist.c
The QUEUE library code is designed to be re-usable in other projects.
Listing HEAPMN is a project comprising the following files:
heapmn.c
heap.h
heap.c
The HEAP library code is designed to be re-usable in other projects.
Listing DEQUEMN is a project comprising the following files:
dequemn.c
deque.h
deque.c
dllist.h
dllist.c
The DEQUE library code is designed to be re-usable in other projects.
Richard Heathfield
binary@eton.powernet.co.uk
21 December 1999
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -