📄 snippets.ndx
字号:
| +++Date last modified: 05-Jul-1997| ~~~Date released: 24-Nov-1996| SNIPPETS Table of Contents| --------------------------||NOTES: "+" preceding file name means new since last SNIPPETS| "*" preceding file name means modified since last SNIPPETS| "-" preceding file name means deleted since last SNIPPETS|| O/S code: DOS = DOS| OS2 = OS/2| Unx = Unix| Mac = Macintosh| Ami = Amiga| WNT = Windows NT| D/O = DOS and OS/2| D/W = DOS and NT| DON = DOS, OS/2, NT| W/2 = Win32 and OS/2| W95 = Windows 95| Nov = Novell| DNt = General DOS network| any = Generally portable| n/a = not applicable|****************************************************************************|| || General information files || ||****************************************************************************||=============================================================================| SNIPPETS Information files|=============================================================================| File O/S Description| ------------ --- ----------------------------------------------------------* Read.Me n/a Last minute information and instructions* File_Id.Diz n/a File info for BBS's* Snippets.Txt n/a General information about SNIPPETS* Whats.New n/a What's new in this release?* Snippets.(C) n/a SNIPPETS freeware notice* Snippets.Rat n/a SNIPPETS rationale+ Librarys.Nfo n/a Information on SNIPPETS recompiled libraries+ Students.Nfo n/a Students' guide to SNIPPETS files* Tosysops.Txt n/a Note to sysops about SNIPPETS* Snippets.Ndx n/a SNIPPETS index - this file* Credits.Lst n/a List of SNIPPETS authors* Missing.Txt n/a Rationale of files deleted since last SNIPPETS* License.Mfl n/a License for Microfirm Function Library files* Makefile any Makefile template for SNIPPETS demos and utilities|****************************************************************************|| || Portable functions and headers || ||****************************************************************************||=============================================================================| General-purpose header files|=============================================================================| File O/S Description| ------------ --- ----------------------------------------------------------* Ascii.H any Convenient enumeration for ASCII control characters* Big_Mall.H DON Portably allocate memory > 64Kb* Cast.H any Cast any object to any type* Circbuf.Hpp any C++ templates for circular/ring buffers* Dirport.How DON Brief tutorial on DIRPORT.H and DIRPORT.C* Dirport.H DON Write portable directory code for various PC compilers Dirport.C DON Win 32 and OS/2 support functions for DIRPORT.H* Extkword.H DON Correct extended keywords syntax Hilobyte.H any Extract high, low bytes from an int Mk_Fp.H DON Makes sure the Intel MK_FP() macro is defined Minmax.H any Macros & typesafe C++ templates for min() and max()+ Metric.H any English <-> Metric and other conversion macros Pi.H any Useful definitions using PI Round.H any Rounding macros Sniptype.H any Common include file for SNIPPETS data types and macros Stat.H D/W Posix compliant sys/stat additions Stringiz.H any Macros to use the ANSI/ISO preprocessor "stringize" macro|=============================================================================| Miscellaneous C-callable functions|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- A2E.H any ASCII <=> EBCDIC conversions A2E.C any Toascii.C any EBCDIC-ASCII conversion arrays* Bastrngs.H any BASIC-like string functions* Bastrngs.C any Cards.Hpp any C++ class to implment a deck of cards, shuffle, and deal Cards.Cpp any Ccard.H any Header file for credit card validation functions Ccard.C any Credit card validation functions Ccardplv.H any Patch level include file for credit card validation Ctrlprnt.H any Print a line, displaying Ctrl characters Ctrlprnt.C any Errors.H any Header file for SNIPPETS formatted error handlers Err_Exit.C any Print formatted error message to stderr and exit Ferrorf.C any Has ferrorf() and cant() for formatted error messages Fscanbin.H any Scan binary fields via format string Fscanbin.C any Isisbn.H any Validate ISBN (book) numbers Isisbn.C any Memrev.H any Assymetrical memory swap Memrev.C any Rolldice.H any Roll specified # of dice, each with speficied # of faces Rolldice.C any Strucfil.H any Read/write structures to/from a file Strucfil.C any Windchil.H any Compute wind chill factor Windchil.C any|=============================================================================| Extensible C & C++ determine which archiver was used on a packed file|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Whicharc.Doc n/a Information about archive detection Whicharc.H any Prototype declarations for WHICHARC.CPP Whicharc.Cpp any Function to determine archive types Archive.Hpp any Declaration of extensible archive classes* Archive.Cpp any Archive class member functions|=============================================================================| Functions to read configuration files|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Cfg.H any Read configuration file data Cfg.C any Cfg.Tst any Test data file for CFG.C #ifdef TEST section Initvars.H any Read data into variables Initvars.C any Initvars.Tst any Test data file for INITVARS.C #ifdef TEST section|=============================================================================| Portable file operations|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Snipfile.H any Header for portable file functions Ansiflen.C any ANSI-compliant file size function in C and C++* Existsx.C any POSIX-compliant functions to search paths for files Fcompare.C any Compare 2 files for equality Fopenx.C any Open files using EXISTSX.C path conventions Srchfile.C any Search files for text, forwards or backwards Textmod.C D/O Demo how to change lines in a text file* Wb_Fcopy.C any Fast file copy* Wb_Fapnd.C any Fast file append Update.H any Automate .BAK file generation Update.C any Ntstream.H any Share-aware C++ file streams Ntstream.Cpp any|=============================================================================| Assorted string manipulation functions, some unique, some for porting|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Snip_Str.H any Header file for SNIPPETS string functions Pluraltx.How any How the plural text macros in SNIP_STR.H work Memmem.C any Like strstr(), but for non-text buffers Fmemmem.C DOS Like memmem() above, but for large DOS buffers Sstrcpy.C any Overlapping strcpy() and strcat() work-alikes Sstrdel.C any Delete multiple substrings from a string Stptok.C any Improved tokenizing function Strchcat.C any Append a single character to a string* Strdel.C any Delete a section of a string* Strdelch.C any Delete specific character(s) in a string Strdup.C any Portable strdup() Strecpy.C any Like strcpy, but returns pointer to NUL* Strecpy.Asm D/O Fast x86 assembly version of Strecpy.C Stristr.C any Case-insensitive strstr() work-alike Strrepl.C any Replace substrings Strrev.C any Reverse a string in place using XOR swapping Strrpbrk.C any Like ANSI/ISO strpbrk(), but searches from end of string Strupr.C any Portable strupr() strlwr() Translat.C any Translate string w/ C-style escape sequences Xstrcat.C any String concatenation function* Ruleline.C any Create various styles of text ruler lines Rmallws.C any Remove all whitespace from a string Rmlead.C any Remove leading whitespace from a string Rmtrail.C any Remove trailing whitespace from a string Trim.C any Trim leading, trailing, & embedded spaces Lv1Ws.C any Convert all whitespace in a string to single spaces|=============================================================================| Assorted (sic) sorting functions|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Snipsort.H any Header file for SNIPPETS sorting functions Hugesort.C DOS Quicksort using huge pointers Ll_Msort.C any Linked list mergesort Ll_Qsort.C any Linked list quicksort Rg_Isort.C any Insertion sort function Rg_Qsort.C any Non-Recursive ANSI/ISO quicksort function Rgiqsort.C any Recursive ANSI/ISO quicksort function Rg_Ssort.C any ANSI/ISO quicksort-compatible shellsort function Strsort.C any (Shell) Sort a string array|=============================================================================| Mark Corgan's functions for indexing and looking up data in text files|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Indxlook.H any Header for INDEX.C and LOOKUP.C* Index.C any Create a binary searchable index file from a text file Lookup.C any Search a text file using a binary search index|=============================================================================| Assorted math functions|=============================================================================| File O/S Description| ------------ --- ----------------------------------------------------------* Snipmath.H any Header file for SNIPPETS math functions Dtotp6.H DOS Convert between Turbo Pascal 6-byte reals and C doubles Dtotp6.C DOS+ Bcdl.C any BCD math (to/from long) functions+ Bcdd.C any BCD math (to/from double) functions+ Bcdd.Doc n/a Manual pages for BCDD.C functions Combin.C any Compute combinations without overflow Cubic.C any Solve cubic equations Dbl2Long.C any Rounds doubles to longs Dblround.C any Rounds a double to nearest whole number Dblround.How any How DBLROUND.C works Etphi.C any Compute Euler's Totient function (phi)* Factoryl.C any Factorial, combinations, permutations Fibo.C any Return any term in the Fibonacci series Frand.C any Return random double in the range of 0.0 to 1.0 Ipow.C any Raise a number to an integer power Ispow2.C any Is a number an integral power of 2? Isqrt.C any Integer square root Ldfloor.C any Long double floor+ Logscale.C any Fast logarithmic integer scaling function+ Mathstat.H any Header file for statistical functions in C and C+++ Mathstat.C any Statistical functions in C and C++ Msb2Ieee.C any Convert MSBIN format to/from IEEE float Perm_Idx.C any Determine permutation index Rad2Deg.C any Convert radians <=> degrees
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -