📄 snippets.ndx
字号:
Modulus.C DOS Basic routines for creating and checking modulus values Repstr.C DOS Replace a pattern in a large amount of data Strcase.C DOS Converts to upper/lower case using non-ASCII conversion Strnsub.C DOS Search for a string, replace it with a new string Strrepc.C DOS Replace all occurrances of one character with another Strtrim.C DOS Trim blanks from a string Strtrimc.C DOS Remove specific characters from a string Fsif.C DOS Search a binary file for a string* What.C DOS DOS version of Unix what|****************************************************************************|| || Utilities/Demos || ||****************************************************************************||=============================================================================| Programmer's utilities|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- C_Cmnt.C any Extract C comments (handles trigraphs) Chmod.C DOS Change DOS file attributes - wildcards, etc. Errfix.C DOS Redirect stderr to a file Getcmt.C any Extract comments from C/C++ source files Testcmt.C any Test file for above Hexdump.C any Hex/ASCII file dump utility Line.C any Filter to add line numbers to a file Remtab.C any Convert tabs to spaces Safeminx.C DOS Tool to prevent multiple header file inclusion* Seqtouch.C D/O Sequentially time/date stamp files in a directory Setimeto.C DOS Set a file's time/datestamp to match another's* Sniptree.C DOS Create a directory tree for SNIPPETS files Stub.C any Truncate .OBJ (and other) files Timer.C DOS Time the execution of a program|=============================================================================| Jari Laaksonen's comment utilities in C++|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Cmtconvr.Txt n/a Description of comment utilities Cmtparsr.H any Header for the comment parsing engine Cmtconvr.H any Header file for the comment converter Cmtcount.H any Header file for the comment counter Cmtremov.H any Header file for the comment stripper Cmtxtrac.H any Header file for the comment extractor Cmtparsr.Cpp any The comment parsing engine Cmtconvr.Cpp any Convert C++ style comments to C style Cmtcount.Cpp any Counts commented lines Cmtremov.Cpp any Strip comments from a source file Cmtxtrac.Cpp any Extracts comments from a source file Cmttests.C any Test file for comment utilities|=============================================================================| Jari Laaksonen's older comment utilities in C|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Commconv.C any Convert C++ style comments to C style Remcmmnt.C any Strip C and C++ comments Comments.Cpp any Test file for above|=============================================================================| Fred Cole's CSPLIT utility|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Csplit.H any Header file for CSPLIT Csplit.C any Split source file(s) for electronic transmission|=============================================================================| Various flavors of grep utilities|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Jgrep.C DOS Simple and portable Grep.C any "Real" grep - free with some strings|=============================================================================| Other utilities and demos|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- 2Dlife.C any 2-D Life program Ansiself.C any Self-replicating program in ANSI/ISO C Bigfac.C any Do large factorials using ASCII multiply Bincomp.C any Binary file comparison utility Bodymass.C any Calculate ideal weight for your height Bordcolr.C DOS Set border color Cdir.C DOS Like DOS CHDIR except changes drives as well Chbytes.C any Edit binary files in place Cmdline.C any Demonstation how to access command line arguments Cursize.C DOS Set the cursor size Do.C DOS Specify multiple command line commands Dossort.C DOS SORT work-alike Drivsrch.C DOS Search for physical/logical drives Drvs.C DNt Checks for valid disk drives, local or remote Dspclock.C DOS On-screen TSR clock Dspdtst.C DOS I/O benchmark - Miscrosoft/Borland/Symantec/Watcom/Mix Dspdtst.Out DOS Results from DSPDTST on my machine Factor.C any Print prime factorization of a number (double) Filcount.C DOS Count files/directories Filecat.H any Header for FILECAT.c and MAXLINE.C* Filecat.C any Adds one file onto another vertically* Maxline.C any Returns the length of the longest line in text file* Flopcopy.C DOS Copy a floppy to a HD subdirectory Fraction.C any Convert a real number to an integer ratio Getvol.C DOS Retrieve a disk volume label Grafline.C DOS Demo of PC line drawing characters+ Hamlet.C any Really cute obfuscated code by Tom Torfs Head.C any Unix head work-alike Howdy.C any Obfuscated C code Ifactor.C any Print prime factorization of a number (long) Inchcvrt.C any Convert inches to feet/inches and fractions Kbflip.C DOS Set/clear Caps/Num/Scroll locks Keywatch.C DOS Demonstrates capturing keyboard interrupt Krnldemo.C any Demo of cooperative multitasking Killff.C any Strip FF characters from text files Log.C any Utility to log working time Lsd.C DOS DIR enhanced work-alike Lzhuf.C any Compression used in LHARC & LHA Mainmain.C any Obfuscated C code Maze_1.C any Maze generator Maze_2.C any Obfuscated maze generator Maze_3.C any Cute maze generator. Run, then enter size. Morse.C any Convert strings to morse code Mterm.C DOS Micro terminal (comm) program - use with X00 package* Mv.C DOS Move files* Nlcnvrt.C any Convert text files between DOS and Unix (CRLF <=> LF) Palndrom.C any Self-replicating palindrome - try it! Permute1.C any Permute strings Permute2.C any Permute strings Pr.C any Print a file with headers & breaks Prntself.C any Program which prints its own source* Query.C DOS Timed query w/default for batch files Rdxcnvrt.C any Convert between number bases Reversi.C any Reversi game from '94 Obfuscated C Contest* Rm_All.C DOS Remove all files - now supports recursion* Setlevel.C DOS Query user from file, return answer in ERRORLEVEL Setvol.C DOS Set, change, or kill a disk volume label Skiplist.C any Demonstration of skip lists Speed.C DOS Benchmark to calculate I/O performance Spin.C any Demo of how to make various text "spinners"* Split.C any Split large text files into smaller ones Stats.C any Analyze file statistics Stripeof.C DOS Strip ^Z characters from DOS text files Sunriset.C any Computes length of day at any place on Earth Tabtrick.C any Demo using printf() for columnar formatting Tail.C any Print last n (default = 5) lines of a file Tiresize.C any Calculate English dimensions for standard metric tire sizes To4Dos.C D/O Convert SNIPPETS.NDX to 4DOS DESCRIPT.ION file Todaybak.C DOS Back up today's files to a floppy Touch.C DOS TC/TC++/BC++ set file time/date stamp Treedir.C DOS Recursive directory lister+ Uusyntax.Man any Instructions for UUNECODE and UUDECODE Uuencode.C any Unix uuencode Uudecode.C any Unix uudecode Wc.C any Like Unix wc, counts lines, words, chars Weird.C any Obfuscated C code Where.C DOS Search for a file Wordwrap.C DOS Simple CRT word wrap demonstration Wputch.C DOS Demonstrates how to restrict output to a text window Fork.Man n/a A fork command for DOS Fork.H DOS Fork.C DOS T_Clean.Doc n/a Clean disks/directories by removing old files* T_Clean.C Dnt|****************************************************************************|| || Miscellaneous and FAQ (Frequently Asked Question) files || ||****************************************************************************||=============================================================================| Miscellaneous code snippets|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Hires.Asm DOS Switch to 43/50 line mode on EGA/VGA Fpswitch.C any Demo how to use function pointer arrays Fsm_Demo.C any Demonstrates a finite state machine|=============================================================================| Miscellaneous files|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- Make.Ini any Master file for NDMAKE C_Lines.Awk any AWK script to count lines of C code Asmcnvrt.Awk DOS AWK script to convert "asm" lines in DOS compilers Compiler.C DOS Test for popular PC compilers & versions Style.C any Suggested coding style guidelines|=============================================================================| FAQ file (answers to Frequently Asked Questions)|=============================================================================| File O/S Description| ------------ --- ---------------------------------------------------------- C_Faq.Nfo n/a Information where to get the comprehensive C language FAQ C_Prec.Txt n/a Operator precedence/associativity in C/C+++ Cstorage.Txt n/a Tutorial for C keywords auto, extern, const, static... Posix.Nfo n/a Answers the "What is Posix?" FAQ* Stdstuff.Txt n/a Crib sheet of standard C functions, macros, and keywords Cpp_Faq.Txt n/a Frequently-asked questions from the FidoNet C++ echo Copyrite.Nfo n/a Brief information on copyright law Storage.Typ n/a C storage types crib sheet Rtlftrul.Txt n/a Right-left rule for reading C Ptrtutor.Txt n/a C pointers and arrays tutorial Rlvalue.Txt n/a Brief tutorial on lvalues, rvalues, and pointers C_Port.Txt n/a How to write portable C code Hungnote.Txt n/a Simonyi's original monograph on "Hungarian Notation" Enums.Txt n/a Helpful hints for enums+ Nul!Null.Txt n/a The difference between "null", NULL, and NUL Sorts.Txt n/a Discussion of sorting techniques Decompil.Txt n/a Looking for a decompiler? Read this! Resource.Lst n/a C Resource (books, magazines, vendors) list Vt100.Txt n/a Chart of VT-100 escape codes Which_C.Txt DOS Guidelines for choosing a PC C compiler* Pclrscrn.How DOS How to clear a PC screen Ansisys.Txt DOS Chart of ANSI screen control codes Mmodels.Faq DOS Information on DOS real mode memory models Para_Faq.Txt DOS PC Parallel Port Mini-FAQ|=============================================================================| Files deleted since last SNIPPETS release - See MISSING.TXT for rationale|=============================================================================| File| ------------ - Bcd.C- Dequeue.C- Dequeue.H- Roman.C
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -