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

📄 snippets.ndx

📁 国外网站上的一些精典的C程序
💻 NDX
📖 第 1 页 / 共 5 页
字号:
  Rnd_Div.C    any  Integer division with rounding+ Parity.H     any  Header for PARITY.C+ Parity.C     any  Compute parity for any integral type+ Triglib.H    any  Comprehensive trig functions in radians, degrees, grads+ Triglib.C    any|=============================================================================| Random number functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Rand1.C      any  Random number generator  Rand2.C      any  Random number generator  Rg_Rand.C    any  Minimal random number generator|=============================================================================| Cliff Rhodes' package of unsigned integer math for arbitrarily large numbers|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Bignum.H     any  Header declaring the BigNum struct and prototypes  Bignum1.C    any  Add, subtract, and multiply BigNum's  Bignum2.C    any  Divide BigNum's  Bigtest.C    any  Test and demo program using BigNum's|=============================================================================| Various ways of computing PI to ridiculous lengths|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------+ Spigot.C     any  Calculate PI to ~1,000 digits using integer math  Pi.C         any  Calculate PI to 8,000+ digits  Pi8.C        any  Another PI calculator  Pi8.Nfo      any  A discourse on the PI8.C algorithm  Pi_Agm.C     any  Calculate PI to 10's of thousands of digits|=============================================================================| Numerical <=> string conversion functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------* Numcnvrt.H   any  Header for SNIPPETS numerical <=> string conversions  Bascnvrt.C   any  Convert radix of a numeric string  Commaflt.C   any  Format doubles using commas and variable precision  Commafmt.C   any  Format long integers using commas  Eng.C        any  Convert floating point value to engineering notation  Eval.C       any  Simple arithmetic expression evaluator  Eval.How     any  How EVAL.C works  Fmtmoney.C   any  Format US dollar amounts into text strings  Hexorint.C   any  Auto-convert hex or decimal strings  Hstr_I.C     any  Convert hex string to int  Ltoa.C       any  Convert long to a string  Ltostr.C     any  A safer version of ltoa()  Ord_Text.C   any  Format ordinal numbers in English  Scanfrac.C   any  Scans/converts text fractions  Str27Seg.C   any  Convert numeric string to 7-segment displays+ L2Roman.C    any  Convert long integers to roman numerals+ Roman2L.C    any  Convert roman numerals to long integers|=============================================================================| Multi-dimensional array functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Snparray.H   any  Header for multi-dimentional array functions  Amalloc.C    any  Multi-dimensional array allocation (limited to <64K on PC)  Mdalloc.C    any  Multi-dimentional array allocte and free (any size)* Mdasort.C    any  Test program demonstrating array sorting|=============================================================================| Bit-level operations|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Bitops.H     any  Prototypes, plus macros to set, clear, and test bits  Bitops.How   any  How the BitXxx() macros in BITOPS.H work  Bitarray.C   any  Bit array functions  Bitcnt_1.C   any  Count bits in a number (fast, clever)  Bitcnt_2.C   any  Count bits in a number (fascinating)  Bitcnt_3.C   any  Count bits in a number (table look-up)  Bitcnt_4.C   any  Count bits in a number (recursive table look-up)  Bitcnts.C    any  Benchmark to test BITCNT_x.C functions  Bitfiles.C   any  Read/write bit files  Bitstrng.C   any  Print binary formatted strings  Bstr_I.C     any  Convert binary string to int|=============================================================================| Auke Reitsma's comprehensive linked list functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Llist.Nts    any  Notes on linked list functions  Ll_Defs.H    any  Common includes and macros  Lls.H        any  Singly linked list header  Lls_Blob.H   any  Singly linked list for Binary Large OBjects  Lls_Str.H    any  Singly linked list for strings  Ll_Que.H     any  Singly linked list as queue  Ll_Stack.H   any  Singly linked list as stack  Lld.H        any  Doubly linked list header  Lld_Blob.H   any  Doubly linked list for Binary Large OBjects  Lld_Str.H    any  Doubly linked list for strings  Lls.C        any  Singly linked list functions  Lls_Blob.C   any  Singly linked list BLOB functions  Lld.C        any  Doubly linked list functions  Lld_Blob.C   any  Doubly linked list BLOB functions  Stack.H      any  Header for stack management functions  Stk_Defs.H   any  Common definitions and debugging macros  Stack.C      any  Stack management functions  Stk_Blob.H   any  Header for stack management of Binary Large OBjects  Stk_Str.H    any  Header for stack management of strings as BLOB's  Stk_Blob.C   any  Stack management functions for Binary Large OBjects+ Ll_Demo.C    any  Demonstration of linked list functions in action|=============================================================================| Auke Reitsma's finite state machine (FSM) functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Fsm.H        any  Header file for simplified FSM implementation* Fsm.C        any  Simplified FSM implementation|=============================================================================| David Nugent's linked list container classes|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------* List.Hpp     any  Header* List.Cpp     any  Member functions|=============================================================================| Peter Yard's double ended queue functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------+ Deque.H      any  Header file supporting queues, stacks, FIFOs+ Deque.C      any  Functions, including sort and search|=============================================================================| Dustin Puryear's stack managment functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Stk.H        any  Header for stack manager  Stk.C        any  Stack manager - init, push, pop, count|=============================================================================| Jerry Coffin's hash table functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Hash.H       any  Header for hash table functions* Hash.C       any  Hash table management|=============================================================================| J. Kercheval's PD regular expression comparator|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Match.Doc    any  Documentation for Match.C  Match.H      any  Header file  Match.C      any  Portable source including optional test code|=============================================================================| Functions to match similar sounding strings|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Phonetic.H   any  Header for all phonetic comparison functions  Soundex.C    any  Standard English soundex  Soundex4.C   any  English soundex optimized for use with surnames  Soundex5.C   any  Another soundex variant* Metaphon.C   any  Phonetic string matching: English, but better than soundex  Approx.C     any  Fuzzy string search|=============================================================================| Ray Gardner's scalar date functions plus other date and time functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Scaldate.H   any  Scalar ("Julian") date header  Scaldate.C   any  Scalar ("Julian") date functions  Daynum.C     any  Return statistics about a given date  Isdst.C      any  Determine if a given date is in Daylight Savings Time  Today.C      any  Return today's date as a scalar value* Dow.C        any  Return day of the week for any date  Fdate.C      Dnt  Return DOS file date as a scalar value  Cal.C        any  Calendar using Scaldate.C  Datetime.H   any  Header for other time and date functions  Jdn_L.C      any  Long integer Julian Day Number computation  Addtime.C    any  Add two times (hh:mm:ss) together, normalizing the result  Easter.C     any  Determine the date of Easter in any given year  Moon_Age.C   any  Determine the phase of the moon for any given date  Parsdate.C   any  Parse a date string  Parstime.C   any  Parse a time string* Strftime.H   any  Non-locale version of ANSI/ISO strftime()* Strftime.C   any|=============================================================================| Branislav Slantchev's zDate class library|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Zdate.Man    any  Manual for using the zDate class library* Date.Hpp     any  The zDate header* Date.Cpp     any  The zDate functions* Datedemo.Cpp any  Demonstration of the capabilities of the zDate library|=============================================================================| Jerry Coffin's word wrapping functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  W_Wrap.H     any  C header w/ prototypes and enum'ed constants  W_Wrap.C     any  C functions  Center.C     any  Center a wrapped line|=============================================================================| Various CRC and checksum functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------  Crc.Txt      n/a  CRC calculation tutorial* Crc.H        any  Header file for SNIPPETS CRC and checksum functions  Arccrc16.C   any  Compute CRC's using ARC, LZH algorithm  Crc_16.C     any  Calculated 16-bit CRC* Crc_16F.C    any  Fast 16-bit CRC* Crc_32.C     any  Table lookup 32-bit CRC  Checksum.C   any  Calculate checksum  Checkexe.C   DOS  Checksum protection for executable files  Crc.Hpp      any  Header for multiple CRC calculation class  Crc.Cpp      any  Calculation class for 6 types of 16- and 32-bit CRC's|=============================================================================| Craig Morrison's registration key functions|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------* Regkey.H     any  Header file for REGIT.C and CHKREG.C  Regit.C      any  Generate registration key* Chkreg.C     any  Validate registration key|=============================================================================| Functions to get command line options|=============================================================================| File         O/S  Description| ------------ ---  ----------------------------------------------------------

⌨️ 快捷键说明

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