📄 snippets.ndx
字号:
|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
|
| File Author Description
| ------------ -------------- ---------------------------------------------
Read.Me Last minute information and instructions
* Snippets.Txt General information about SNIPPETS
* Snippets.(C) SNIPPETS freeware notice
* Snippets.Ndx SNIPPETS index - this file
* Snippets.Wc Count of SNIPPETS files
+ Pdn.Lst Janis Kracht List of PDN sites
Make.Ini Jim Nutt Master file for NDMAKE
Ansiscrn.H Macros for ANSI.SYS screen control
Cast.H Bob Stout Cast any object to any type
Dow.H Paul Schlyter Day-of-week macro
Hilobyte.H Extract high, low bytes from an int
Portable.H Scott Ladd Write portable code for various PC compilers
Round.H Dave Knapp Rounding macros
* Scrnmacs.H Jerry Houston Macros for direct video work
C_Lines.Awk Dan Kozak AWK program to count lines of C code
8087_Sav.Asm Jeffrey Nonken Saves/restores 80x87 environment
Coldboot.Asm David Nugent Reliable cold/warm boot
* Cpucheck.Asm Determine type of CPU in use
Hires.Asm Switch to 43/50 line mode on EGA/VGA
Ndpcheck.Asm Determine presence of coprocessor
A2E.C Bob Stout ASCII <=> EBCDIC conversions
Addhndls.C Doug Burger Allow more than 20 open files under DOS 3+
Bob Jarvis
+ Amalloc.C Paul Schlyter Multi-dimensional array allocate ( <64K on PC)
Ansiflen.C Bob Jarvis ANSI-compliant file size function
Ansiload.C Bob Jarvis Detect ANSI.SYS
Ansiself.C Thad Smith Self-replicating program in ANSI C
Ansisys.C Detect ANSI.SYS
Approx.C John Rex Fuzzy string search
* Assignpr.C Bob Stout Multiple printer support
Atr2Ansi.C Bob Stout Build ANSI.SYS command string, given attribute
Bascnvrt.C Bob Stout Convert radix of a numeric string
* Bastrngs.C Bob Stout BASIC-like string functions
Bitarray.C Bit array functions
* Bitcnt_1.C Ratko Tomic Count bits in a number (fast, clever)
Bitcnt_2.C Count bits in a number (fascinating)
Bitfiles.C Aare Tali Bit I/O for buffered (fopen'ed) files
Bitops.C Bob Stout Small bit array macros
+ Bitstrng.C J. Blauth Format numeric value as string of bits
Calsupp.C Ray McVay Calendar support funtions
+ Cant.C Bob Stout An fopen() replacement with error trapping
Changprn.C Bob Stout Change the standard printer device
* Checkexe.C Bob Jarvis Checksum protection for executable files
Chgext.C Bob Stout Change/add a file name extension
Clock.C Jon Guthrie On-screen clock generator
Combin.C Thad Smith III Compute combinations without overflow
Commafmt.C Bob Stout Add thousands separators to numeric strings
Crc-16.C Calculated 16-bit CRC
Crc-16F.C Fast 16-bit CRC
* Crc_32.C Gary S. Brown Table lookup 32-bit CRC
Crypt.C Bob Stout S-Coder data encryption from DDJ
* Ctrlprnt.C Bob Stout Print a line, displaying Ctrl characters
+ Cubic.C Ross Cottrell Solve cubic equations
* Cursor.C Bill Wilkie Cursor management/manipulation
+ Dbl2Long.C Ross Cottrell Rounds doubles to longs
* Dblround.C Ross Cottrell Rounds a double to nearest whole number
Dd_Struc.C Wayne Hamilton TC/TC++/BC++ DOS file time/date macros
* Doscopy.C Peter Yard Copy a file
* Drvalid.C Bob Stout Benignly validate disk drives
Dspdtst.C I/O benchmark - MSC/TC/ZTC/Watcom
* Editgets.C Jon Burchmore Get an input string with editing functions
Bob Stout
* Errfix.C Bob Jarvis Redirect stderr to a file
Eval.C Bob Stout Simple arithmetic expression evaluator
Factoryl.C Bob Stout Factorial, combinations, permutations
Faskbhit.C D. Goodenough Fast kbhit() and kbflush()
Favail.C Bob Stout How many more files may be fopen'ed?
+ Fcompare.C Bob Stout Compare 2 files for equality
Fcopy.C Bob Jarvis Copy a file
* Ferrorf.C Mark Devlin Formatted error messages
Figets.C Jan Vroonhof Like fgets, except reads backwards
Files.C Matthew Hunt Determine number of FILE set in CONFIG.SYS
Fmtmoney.C Bob Stout Format US dollar amounts into text strings
* Fndislot.C Bob Stout Locate an unused user interrupt vector
* Format.C Bob Stout Use DOS format to format a diskette
* Fscanbin.C Ray Gardner Scan binary fields via format string
Fsm.C Demonstrates a finite state machine
* Getdcwd.C Bob Jarvis Get current working directory for given drive
- Get_Dirs.C
Getkey.C Bob Stout Get extended key codes
* Getopt3.C AT&T compatible getopt(3)
* Getopts.C Paul Edwards Scan command line for switches
Getseg.C Bob Stout Get segment and offset of any object
* Getstrng.C Ron Sires Safe gets() for input string of unknown length
Glbl_Env.C Peter Thomas Update & remove global environment variables
Grafline.C David Harmon Demo of PC line drawing characters
Howdy.C Obfuscated C code
* Hstr_I.C Bob Stout Convert hex string to int
* Hugeread.C Bob Stout Read & write huge data using far pointers
* Hugesort.C Ray Gardner Quicksort using huge pointers
Initvars.C Ray Gardner Read data into variables
- Isfile.C
+ Iscons.C Bob Stout Does a FILE * refer to the console?
Isfopen.C Bob Stout Is a FILE * in use?
+ Isnetdr.C Bob Dolan Determine is a drive is local or remote
* Ispow2.C Is a number an integral power of 2?
* Isqrt.C Integer square root
* Isramdsk.C Bob Stout Determine if a drive is a RAM disk
Isshift.C Jeff Dunlop Determine if a shift key is pressed
+ Iswprot.C Bob Stout Determine is a floppy is write protected
* Jdn.C Paul Schlyter Julian Day Number computation
Ray Gardner
Joystick.C Bob Stout Joystick support functions
* Kb_Data.C Dan Kozak Keyboard status determination
Keylocks.C Caps/Num lock set/clear functions
* Keywatch.C Robert Mashlan Demonstrates capturing keyboard interrupt
- Lasort.C
* Lbitops.C Scott Dudley Large bit array macros
Ldfloor.C Ray Gardner Long double floor
* Ll_Msort.C Ray Gardner Linked list mergesort
Ll_Qsort.C Jon Guthrie Linked list quicksort
Lsary.C Bob Stout Read a directory into a linked list
Ltoa.C Bob Stout Convert long to a string
Ltostr.C Thad Smith III Convert long to a string
Lv1Ws.C Bob Stout Convert whitespace strings to single spaces
Mainmain.C Obfuscated C code
Mcb_Env.C Modify master environment using MCB's
Mdalloc.C Blair Haukedal Multi-dimentional array alloction
- Memlist.C
+ Memavail.C Thor Johnson Report available DOS memory
* Memrev.C Ray Gardner Assymetrical memory swap
- Mouse1.C
- Mouse2.C
- Mouse3.C
- Mouse4.C
+ Mkdirs.C Bob Stout Build directory tree (deep mkdir())
+ Moon_Age.C M. Jones Determine the phase of the moons for any date
* Noctrlc.C Traps Ctrl-C, Ctrl-Break, Ctrl-Alt-Del
Noreset.C Traps Ctrl-Alt-Del
Ord_Text.C Bob Stout Format ordinal numbers in English
Pcnvrt.C Bob Stout Convert Pascal strings to C
Perm_Idx.C Thad Smith III Determine permutation index
* Pfopen.C David Engel Open a file anywhere
Pluraltx.C Bob Stout How to print proper plurals
* Prtoggle.C Bob Stout Tee stdio to stdprn
Prtscrn.C Bob Stout Invoke BIOS print screen function
Prtstat.C Bob Stout Determine printer status
* Pushdir.C Bob Stout Stack-oriented CHDIR functions
* Rand1.C Phil Linttell Random number generator
* Rand2.C E. Schneider Random number generator
- Rand3.C
- Ratko.C
- Rays.C
Reboot.C Bob Stout Simple PC reboot function in C
Redir.C F. Piette Demonstrates output redirection
- Regex.C
+ Rg_Isort.C Ray Gardner Insertion sort function
Rg_Qsort.C1 Ray Gardner Non-Recursive ANSI quicksort function
Rg_Qsort.C2 Ray Gardner Recursive ANSI quicksort function
Rg_Rand.C Ray Gardner Minimal random number generator
* Rg_Ssort.C Ray Gardner ANSI quicksort-compatible shellsort function
Rmallws.C Bob Stout Remove all whitespace from a string
Rmlead.C Bob Stout Remove leading whitespace from a string
Rmtrail.C Bob Stout Remove trailing whitespace from a string
Rndmize.C How to seed ANSI random number generator
Scanfrac.C Thad Smith III Scans/converts text fractions
- Scrnsize.C
* Scroll.C Bob Stout Scroll screen function
Setenvar.C Bob Stout Set DOS master environment *legally*
* Shel2Dos.C Bob Stout Shell to DOS from a running program
- Showdate.C
* Soundex.C Bob Jarvis Standard English soundex
Speed.C Benchmark to calculate I/O performance
Srchfile.C Bob Stout Search files for text, forwards & backwards
Sstrcpy.C Ray Gardner Overlapping strcpy() & strcat() work-alikes
* Stats.C Bob Stout Analyze file statistics
* Stptok.C Ray Gardner Improved tokenizing function
* Strftime.C Jim Nutt Non-locale version of ANSI strftime()
Rob Duff
* Strrepl.C Gilles Kohl Replace substrings
Strrev.C Bob Stout Reverse a string in place using XOR swapping
Strsort.C Ray Gardner (Shell) Sort a string array
* Strucfil.C Lynn Nash Read/write structures to/from a file
Style.C Suggested coding style guidelines
Timegetc.C Bob Jarvis Wait specified time for a keypress
Toascii.C EBCDIC-ASCII conversion arrays
Tp6Tod.C Thad Smith III Convert TP 6-byte reals to C doubles
+ Trim.C Bob Stout Trim leading, trailing, & embedded spaces
* Truename.C gk Normalize filename using undocumented DOS
Unix2Dos.C Bob Stout Convert Unix-style pathnames to DOS-style
- Video_1.C
- Video_2.C
+ Video.C Jeff Dunlop C video information functions
* Wb_Fcopy.C Walter Bright Fast file copy/append
* Weird.C Obfuscated C code
* Whicharc.C Heinz Ozwirk Determine which archiver used on a packed file
* Windchil.C Compute wind chill factor
* Wordwrap.C Robert Morgan Simple CRT word wrap demonstration
* Xstrcat.C String concatenation funct
Xstrcmp.C S. Offermann Compare strings using DOS wildcards
|
|-------------- FAQ file (answers to Frequently Asked Questions --------------
|
C_Prec.Txt Operator precedence/associativity in C / C++
Storage.Typ Jeff Galbraith C storage types crib sheet
Rtlftrul.Txt Right-left rule for reading C
Ptr_Help.Txt Ted Jensen Helpful hints on pointers
C_Port.Txt Joseph Carnage How to write portable C code
Enums.Txt Helpful hints for enums
Which_C.Txt Bob Stout Guidelines for choosing a PC C compiler
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -