⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 snippets.ndx

📁 国外网站上的一些精典的C程序
💻 NDX
📖 第 1 页 / 共 5 页
字号:
  Getopts.Man  n/a  Manual for using getopts()  Getopts.H    any  Header for Getopts.C* Getopts.C    any  Scan command line for switches, filenames, response files  Getoptst.C   any  Test program to exercise getopts()  Palnfilt.C   any  Palindrome filter, demo for Getopts.C+ Getoptsl.Man n/a  Manual for using getopts_lite()  Getoptsl.H   any  "Getopts Lite" - Smaller & simpler than full GETOPTS  Getoptsl.C   any|=============================================================================| String searching functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Search.H     any  SNIPPETS Header for string searching functions  Pbmsrch.C    any  Pratt-Boyer-Moore string search  Bmhsrch.C    any  Case-sensitive Boyer-Moore-Horspool search  Bmhisrch.C   any  Case-insensitive Boyer-Moore-Horspool search  Bmhasrch.C   any  Case-insensitive BMH search w/ accented chars|=============================================================================| David Nugent's iostreams (C++) tutorial|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Iostutor.Txt any  Tutorial for following demo code  Myio.H       any  Header for Myio.Cpp* Myio.Cpp     any  Simple I/O class  Mystream.H   any  iostream Interface for class Myio  Mystream.Cpp any  ios Interface implementation  Myline.H     any  Simple line input classes  Myline.Cpp   any  Implementation of myLine classes  Myiodemo.Cpp any  myio Loopback demo  Myio.Mak     any  Makefile for Iostutor.Txt demo files|=============================================================================| David Nugent's simple (sic!) string class|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Str.Doc      any  Information on the string class* Str.H        any  C++ header* Str.Cpp      any  Simple, portable C++ string class|=============================================================================| David Nugent's time functions class (a C++ wrapper for ANSI/ISO struct tm)|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Loctm.H      any  Header for time class  Loctm.Cpp    any  C++ class wrapper  Locdfmt.Cpp  any  Date formatting functions  Loctfmt.Cpp  any  Time formatting functions  Locfmt.Cpp   any  Date/time combined format  Lttest.Cpp   any  Test main() for C++ time class|=============================================================================| Walter Bright's memory allocation debugging package|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Mem.Txt      n/a  Information on the Mem package  Toolkit.H    D/O  Compiler-independent portability header  Mem.H        D/O  Mem package header* Mem.C        D/O  Mem package code|=============================================================================| Jeff Dunlop's memory allocation debugging package|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Jmalloc.H    DOS  Jmalloc package header  Jmalloc.C    DOS  Like MEM, more functions, check the copyright  Jnew.H       DOS  C++ debugging package for new, delete, uses JMALLOC  Jnew.Cpp     DOS|****************************************************************************||                                                                            ||                        PC (DOS, OS/2) functions                            ||                                                                            ||****************************************************************************||=============================================================================| General-purpose PC header files|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Ansicode.H   DOS  Macros for ANSI.SYS screen control  Ansitest.C   DOS  Test demo for ANSICODE.H, including remote detection  Dosgetch.H   DOS  Used by ANSITEST.H  Dosgetch.Asm DOS  Used by ANSITEST.H* Unistd.H     DOS  Posix standard header file for porting to DOS* Pcnvrt.H     any  Convert Pascal strings to C|=============================================================================| C-Callable x86 assembly harware ID functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Intel.H      DOS  Header for x86 hardware functions  Cpuid.Asm    DOS  Determine type of CPU/coprocessor in use  8087_Sav.Asm DOS  Saves/restores 80x87 environment|=============================================================================| Bob Stout's POSIX compliant directory functions & related files|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Dirent.H     D/O  POSIX compliant header  Posixdir.C   D/O  opendir(), readdir(), seekdir(), rewinddir() closedir()  Posix_Ls.C   D/O  Directory lister demo  Dirmask.C    D/O  Complex pattern matching (calls xstrcmp())  Xstrcmp.C    any  Compare strings using DOS wildcards|=============================================================================| DOS file name processing functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------* Filnames.H   DOS  Header file for file name processing functions below  Fln_Fix.C    DOS  Crunch dot directories, verify DOS-valid paths  Flnorm.C     DOS  Full file name normalization  Unix2Dos.C   DOS  Convert Unix-style pathnames to DOS-style  Chgext.C     DOS  Change/add a file name extension* Fnsplit.C    DOS  Portable fnsplit(), fnmerge() equivalents  Vfname.H     any  Configuration header file for Vfname.C  Vfname.C     any  Validate legal file names - DOS defaults but configurable|=============================================================================| DOS file and directory processing functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------* Dosfiles.H   DOS  Header for SNIPPETS DOS file and directory functions  Addhndls.C   DOS  Allow more than 20 open files under DOS 3+  Addpath.C    DOS  Append a new entry to DOS PATH* Doscopy.C    DOS  Copy a file via DOS COPY command  Drvalid.C    DOS  Benignly validate disk drives  Favail.C     DOS  How many more files may be fopen'ed?  Fchsize.C    DOS  Truncate/extend/resize DOS fiels using FILE pointers  Files.C      DOS  Determine number of FILE set in CONFIG.SYS+ Fupdate.C    DOS  A set of portable _commit() functions  Getdcwd.C    D/O  Get current working directory for any given drive  Iscdrom.C    DOS  Determine if a given drive is a CD-ROM  Iscons.C     DOS  Does a FILE * refer to the console?  Isfopen.C    DOS  Is a FILE * in use?  Isnetdr.C    DNt  Determine is a drive is local or remote  Isramdsk.C   DOS  Determine if a drive is a RAM disk  Iswprot.C    DOS  Determine is a floppy is write protected* Mkdirs.C     any  Build directory tree (deep mkdir())* Pushdir.C    DOS  Stack-oriented CHDIR functions  Truname.C    DOS  Normalize filename using undocumented DOS  Filelist.H   D/O  Read a directory into a linked list  Filelist.C   D/O|=============================================================================| PC compiler compatibility functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Problems.Txt DOS  Common portability problems and some recommended solutions* Pchwio.H     DOS  Hardware I/O portability header* Pchwio.C     DOS  Hardware I/O portability functions  Biport.H     DOS  Header to port Borland _geninterrupt()  Biport.C     DOS  Port Borland code using pseudovariables  Bc_Rand.H    any  Port Borland random() and randomize()  Fmemops.H    DOS  Emulate MSC's _fmemxxx() in Power C, ZTC++, and older TC++  Fmemops.C    DOS  Ftime.H      DOS  BC++-style file date/time struct and prototypes* Ftime.C      DOS  BC++-style file date/time functions  Delay.H      any  Portable time delay() function  Delay.C      any  Clock.H      DOS  Add clock() to older compilers without it  Tc15.H       DOS  Demo of portability header for older compiler (TC 1.5)|=============================================================================| Steve Poole's non-block console I/O functions to port PC code to Unix|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Unxconio.H   Unx  Unix CONIO.H* Term_Opt.C   Unx  Supporting function for CONIO.H functions  Unxgetch.C   Unx  A getch() for Unix!|=============================================================================| Other Unix compatibbility functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Unxsleep.C   Unx  The microsleep() function for SysV and BSD|=============================================================================| Various system-level and utility functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Snpdosys.H   DOS  Header file for DOS system-level function  Getseg.H     DOS  Get segment and offset of any object  Break.C      DOS  Control DOS "SET BREAK=" status  Fndislot.C   DOS  Locate an unused user interrupt vector  Dosfrmat.C   DOS  Use DOS format to format a diskette  Format.H     DOS  Complete low-level floppy format* Format.C     DOS  Fptr_Add.C   DOS  Add any value to a far pointer and normalize far pointers  Isshare.C    Dnt  Determine if file sharing is enabled  Joystick.C   DOS  Joystick support functions  Memavail.C   DOS  Report available DOS memory  Nwlinname.C  Nov  Retrieve NetWare login name  Pfopen.C     any  Open a file anywhere* Redirect.C   any  Redirect standard streams  Shel2Dos.C   DOS  Shell to DOS from a running program  Os_Id.Txt    n/a  Description of OS_ID.C functions  Os_Id.C      D/O  Determine PC OS, also give up a time slice to the OS  Ticktrap.H   DOS  Install a function as a timer tick ISR  Ticktrap.C   DOS|=============================================================================| Martin Maney's fast line buffered file input|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Xfile.H      DOS  Header w/ prototypes  Xfile.C      DOS  Contains xopen(), xclose(), xgetline()* Xtest.C      DOS  Demo for above|=============================================================================| Portable PC video (text) functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Scrnmacs.H   DOS  Macros for portable video work  Dvidport.H   DOS  Macros for portable direct screen text output  Vidport.C    DOS  Portable gotoxy(), clrscr(), etc. equivalents,  Dvidport.C   DOS  Code to support DVIDPORT.H  Scrnsave.C   DOS  Save and restore text screens (buffer)  Fscrnsav.C   DOS  Save and restore text screens (file)  Scroll.C     DOS  Scroll screen function  Atr2Ansi.C   DOS  Given video attributes, build an ANSI.SYS command string  Dvideo.H     DOS  C video information functions  Dvideo.C     DOS  Ansiload.H   DOS  Detect ANSI.SYS  Ansiload.C   DOS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -