Dec 102017
 
March '95 version of the C source snippets archive.

Full Description of File


The SNIPPETS collection is an archive
of over 400 separate files, over 50,000
lines of mostly C/C++ source code - all
public domain and freeware - which
contains the best answers to "How do
I...?" questions.


File SNIP9503.ZIP from The Programmer’s Corner in
Category Recently Uploaded Files
March ’95 version of the C source snippets archive.
File Name File Size Zip Size Zip Type
2DLIFE.C 2747 849 deflated
8087_SAV.ASM 2870 1099 deflated
A2E.C 2649 825 deflated
ABSDISK.ASM 2198 850 deflated
ABSDISKC.C 1057 379 deflated
ADDHNDLS.C 3169 1174 deflated
ADDPATH.C 2651 904 deflated
ADDTIME.C 2808 945 deflated
AMALLOC.C 3593 1322 deflated
ANSIFLEN.C 628 352 deflated
ANSILOAD.C 1352 539 deflated
ANSISCRN.H 2376 713 deflated
ANSISELF.C 413 254 deflated
ANSISYS.C 1882 573 deflated
ANSISYS.TXT 10629 2632 deflated
APPROX.C 5111 1701 deflated
ARCCRC16.C 2041 923 deflated
ASSIGNPR.C 1639 739 deflated
ATR2ANSI.C 1974 776 deflated
BASCNVRT.C 1076 484 deflated
BASTRNGS.C 3562 1116 deflated
BIGFAC.C 2997 987 deflated
BIG_MALL.H 415 193 deflated
BINCOMP.C 4249 949 deflated
BIPORT.C 331 224 deflated
BIPORT.H 845 309 deflated
BITARRAY.C 432 194 deflated
BITCNT_1.C 739 388 deflated
BITCNT_2.C 740 323 deflated
BITFILES.C 3089 868 deflated
BITOPS.C 384 211 deflated
BITSTRNG.C 1742 809 deflated
BMHASRCH.C 3736 1239 deflated
BMHISRCH.C 3145 1115 deflated
BMHSRCH.C 2152 704 deflated
BORDCOLR.C 2860 750 deflated
BREAK.C 494 255 deflated
BRESNHAM.C 3736 1293 deflated
BSTR_I.C 694 351 deflated
CAL.C 3640 1160 deflated
CALSUPP.C 1440 610 deflated
CANT.C 491 302 deflated
CAST.H 1265 269 deflated
CBTRAP.ASM 1447 556 deflated
CCOMCALL.C 670 377 deflated
CCTRAP.ASM 1650 604 deflated
CDIR.C 3453 1221 deflated
CENTER.C 1334 589 deflated
CERRINST.ASM 3090 975 deflated
CERRTRAP.ASM 4762 1533 deflated
CHANGPRN.C 1155 479 deflated
CHBYTES.C 6679 2100 deflated
CHECKEXE.C 3345 1025 deflated
CHECKSUM.C 828 419 deflated
CHGEXT.C 1770 745 deflated
CHKREG.C 1677 639 deflated
CHMOD.C 6052 1905 deflated
CLOCK.C 5601 1441 deflated
CMDLINE.C 687 353 deflated
COLDBOOT.ASM 1084 480 deflated
COMBIN.C 1669 739 deflated
COMMAFMT.C 1993 802 deflated
COMMCONV.C 4458 1095 deflated
COMMENTS.CPP 1019 422 deflated
COMPILER.C 1431 511 deflated
CPUCHECK.ASM 2767 807 deflated
CRC-16.C 1025 460 deflated
CRC-16F.C 4745 1855 deflated
CRC.TXT 91362 26089 deflated
CRC_32.C 8443 3478 deflated
CRYPT.C 3775 1211 deflated
CTRLPRNT.C 826 382 deflated
CUBIC.C 1514 565 deflated
CURSIZE.C 1564 580 deflated
CURSOR.C 2400 621 deflated
C_CMNT.C 5138 1483 deflated
C_FAQ.TXT 150895 53291 deflated
C_LINES.AWK 1312 413 deflated
C_LINES.C 3893 1037 deflated
C_PORT.TXT 12630 4627 deflated
C_PREC.TXT 4114 806 deflated
DAYNUM.C 2481 911 deflated
DBL2LONG.C 2048 1012 deflated
DBLROUND.C 823 439 deflated
DD_STRUC.H 1050 444 deflated
DECOMPIL.TXT 2675 1275 deflated
DEFINES.H 811 329 deflated
DEQUEUE.C 17870 4012 deflated
DEQUEUE.H 1403 422 deflated
DIRENT.H 2703 1001 deflated
DIRMASK.C 3029 856 deflated
DO.C 341 213 deflated
DOANSI.H 1005 434 deflated
DOANSI_1.C 13519 2319 deflated
DOANSI_2.C 4664 1235 deflated
DOS5BOOT.H 2225 587 deflated
DOSCOPY.C 1914 677 deflated
DOSFUNCS.TXT 2389 994 deflated
DOSSORT.C 3191 1122 deflated
DOW.C 1315 580 deflated
DRIVSRCH.C 2315 1040 deflated
DROPTIME.C 556 322 deflated
DRVALID.C 3722 1308 deflated
DRVS.C 1434 726 deflated
DSPCLOCK.C 2560 1065 deflated
DSPDTST.C 4281 1072 deflated
EDITGETS.C 12756 2092 deflated
ENG.C 1108 489 deflated
ENUMS.TXT 2132 958 deflated
ENVIRON.TXT 3917 1698 deflated
ERRFIX.C 1542 648 deflated
EVAL.C 13444 2568 deflated
EVSAVRES.TXT 241 110 deflated
EXCEPT.DOC 8939 3484 deflated
EXT_KEYS.C 1382 578 deflated
EXT_KEYS.H 3187 683 deflated
FACTOR.C 1768 612 deflated
FACTORYL.C 2660 1100 deflated
FASKBHIT.C 1200 493 deflated
FAVAIL.C 1029 481 deflated
FCOMPARE.C 1732 633 deflated
FCOPY.C 1247 430 deflated
FERRORF.C 687 373 deflated
FILCOUNT.C 2437 960 deflated
FILES.C 2429 1103 deflated
FILE_ID.DIZ 215 170 deflated
FLNORM.C 4893 1356 deflated
FLN_FIX.C 4081 1157 deflated
FLOPCOPY.C 3270 1106 deflated
FMEMOPS.C 1252 516 deflated
FMTMONEY.C 2692 892 deflated
FNDISLOT.C 1071 473 deflated
FORMAT.C 1274 645 deflated
FPSWITCH.C 1439 448 deflated
FPTR_ADD.C 773 390 deflated
FRACTION.C 2834 1034 deflated
FRAND.C 1093 423 deflated
FSCANBIN.C 3612 954 deflated
FSCRNSAV.C 1757 672 deflated
FSIZE.C 1950 757 deflated
FSM.C 823 288 deflated
FTIME.C 1215 379 deflated
FTIME.H 519 248 deflated
GETCMT.C 9728 2656 deflated
GETDCWD.C 1708 739 deflated
GETKEY.C 486 284 deflated
GETOPT3.C 3179 1221 deflated
GETOPTS.C 6538 1717 deflated
GETOPTS.H 636 299 deflated
GETSEG.C 1184 490 deflated
GETSTRNG.C 1678 712 deflated
GETVOL.C 1554 715 deflated
GLBL_ENV.C 10420 3058 deflated
GRAFLINE.C 1385 576 deflated
GREP.C 15926 4575 deflated
HEAD.C 1046 469 deflated
HEXDUMP.C 2140 743 deflated
HEXORINT.C 1021 525 deflated
HI-CRYPT.C 5903 1714 deflated
HILOBYTE.H 84 59 deflated
HIRES.ASM 1251 457 deflated
HOWDY.C 537 227 deflated
HSTR_I.C 925 464 deflated
HUGEREAD.C 5892 1298 deflated
HUGESORT.C 2850 934 deflated
IFACTOR.C 1319 456 deflated
INCHCVRT.C 1923 716 deflated
INITVARS.C 5228 1684 deflated
INT2E.ASM 1519 643 deflated
IOSTUTOR.TXT 12674 5121 deflated
IPOW.C 1162 553 deflated
ISCONS.C 840 440 deflated
ISFOPEN.C 823 410 deflated
ISISBN.C 505 278 deflated
ISNETDR.C 1229 501 deflated
ISPOW2.C 233 164 deflated
ISQRT.C 2733 1152 deflated
ISRAMDSK.C 1395 708 deflated
ISSHARE.C 2265 954 deflated
ISSHIFT.C 902 329 deflated
ISWPROT.C 1855 743 deflated
ISXKBRD.C 1148 490 deflated
JDN.C 5953 2215 deflated
JGREP.C 4697 1449 deflated
JMALLOC.C 21779 4224 deflated
JMALLOC.H 5995 1271 deflated
JNEW.CPP 4403 1576 deflated
JNEW.H 1068 446 deflated
JOYSTICK.C 1597 502 deflated
KBFLIP.C 2387 964 deflated
KB_DATA.C 2209 556 deflated
KEYLOCKS.C 321 137 deflated
KEYWATCH.C 5329 1698 deflated
KILLFF.C 4155 1490 deflated
KRNLDEMO.C 3208 931 deflated
LBITOPS.C 1230 497 deflated
LDFLOOR.C 1638 617 deflated
LIST.CPP 2385 814 deflated
LIST.HPP 6576 1861 deflated
LLD.C 19553 3780 deflated
LLD.H 6496 1937 deflated
LLD_BLOB.C 3414 806 deflated
LLD_BLOB.H 2674 878 deflated
LLD_STR.H 1447 490 deflated
LLIST.NTS 9306 3114 deflated
LLS.C 20195 4099 deflated
LLS.H 6420 1964 deflated
LLS_BLOB.C 3414 808 deflated
LLS_BLOB.H 2674 879 deflated
LLS_STR.H 1447 492 deflated
LL_MSORT.C 1939 789 deflated
LL_QSORT.C 3985 1137 deflated
LL_QUE.H 2199 708 deflated
LL_STACK.H 1725 579 deflated
LOG.C 7841 2150 deflated
LSARY.C 2660 1019 deflated
LSD.C 7227 2153 deflated
LTOA.C 1502 654 deflated
LTOSTR.C 1520 710 deflated
LV1WS.C 863 375 deflated
LZHUF.C 18917 4625 deflated
MAINMAIN.C 80 48 deflated
MAKE.INI 4041 1362 deflated
MATCH.C 19340 3761 deflated
MATCH.DOC 5414 2212 deflated
MATCH.H 4070 1290 deflated
MAZE_1.C 4392 973 deflated
MAZE_2.C 239 184 deflated
MAZE_3.C 448 248 deflated
MCB_ENV.C 4554 1490 deflated
MDALLOC.C 5482 1640 deflated
MEM.C 13837 4048 deflated
MEM.H 6327 2293 deflated
MEM.TXT 9171 3881 deflated
MEMAVAIL.C 511 315 deflated
MEMREV.C 1471 675 deflated
MISSING.TXT 1185 611 deflated
MKDIRS.C 1214 570 deflated
MKTONE.C 1170 526 deflated
MODEMIO.C 5443 1661 deflated
MODEMIO.H 2868 900 deflated
MOON_AGE.C 2121 855 deflated
MORSE.C 7544 2688 deflated
MOUSE.C 9444 2386 deflated
MOUSE.H 1157 418 deflated
MSB2IEEE.C 1772 531 deflated
MSC_PEEK.C 950 317 deflated
MTERM.C 4012 1172 deflated
MV.C 3232 1173 deflated
MYIO.CPP 3671 1110 deflated
MYIO.H 2722 907 deflated
MYIO.MAK 2180 755 deflated
MYIODEMO.CPP 4123 1373 deflated
MYLINE.CPP 1838 729 deflated
MYLINE.H 1379 617 deflated
MYSTREAM.CPP 3792 1255 deflated
MYSTREAM.H 1804 662 deflated
NDPCHECK.ASM 1196 480 deflated
NOCTRLC.C 1681 543 deflated
NONMSDOS.TXT 3451 1306 deflated
NORESET.C 2935 1074 deflated
NWLINNAM.C 2959 1088 deflated
ORD_TEXT.C 673 391 deflated
OS_ID.C 2938 855 deflated
OS_ID.H 773 348 deflated
PALNDROM.C 279 200 deflated
PALNFILT.C 3433 1211 deflated
PATMAT.C 4768 1199 deflated
PBMSRCH.C 2618 966 deflated
PCNVRT.C 645 326 deflated
PERMUTE1.C 3558 1105 deflated
PERMUTE2.C 1800 691 deflated
PERM_IDX.C 1032 465 deflated
PFOPEN.C 1728 780 deflated
PI.C 3670 1150 deflated
PI.H 121 91 deflated
PLAYDEMO.C 784 293 deflated
PLAYLIB.C 2809 930 deflated
PLURALTX.C 497 277 deflated
PMERGE.C 1573 597 deflated
PORTABLE.H 5518 1615 deflated
POSIXDIR.C 10361 1963 deflated
POSIX_LS.C 3015 789 deflated
PR.C 8651 2330 deflated
PRINTQ.C 1457 549 deflated
PRNSPOOL.C 3268 863 deflated
PRNSPOOL.H 1329 614 deflated
PRNTSELF.C 734 389 deflated
PRTOGGLE.C 2480 930 deflated
PRTSCRN.C 993 460 deflated
PRTSTAT.C 1265 523 deflated
PSPLIT.C 2712 941 deflated
PTR_HELP.TXT 42791 13708 deflated
PUSHDIR.C 5185 1542 deflated
QUERY.C 1280 468 deflated
QUEUE.C 1831 539 deflated
QUEUE.H 1227 415 deflated
RAD2DEG.C 655 343 deflated
RAND1.C 7749 2606 deflated
RAND2.C 1305 509 deflated
RDXCNVRT.C 1078 486 deflated
READ.ME 71 67 deflated
REBOOT.C 516 279 deflated
REDIR.C 1723 686 deflated
REGIT.C 1745 698 deflated
REMCMMNT.C 4927 1092 deflated
REMTAB.C 1766 692 deflated
RESOURCE.LST 17898 7278 deflated
REVERSI.C 3123 1023 deflated
RFIND1ST.C 5657 1321 deflated
RGIQSORT.C 1071 365 deflated
RG_ISORT.C 1043 401 deflated
RG_QSORT.C 6816 1904 deflated
RG_RAND.C 2037 892 deflated
RG_SSORT.C 1191 402 deflated
RLVALUE.TXT 5110 1876 deflated
RMALLWS.C 566 327 deflated
RMLEAD.C 532 312 deflated
RMTRAIL.C 608 331 deflated
RM_ALL.C 6225 1889 deflated
RNDMIZE.C 41 41 stored
ROMAN.C 1849 497 deflated
ROUND.H 833 415 deflated
RTLFTRUL.TXT 5036 1703 deflated
SCALDATE.C 1376 558 deflated
SCALDATE.H 800 357 deflated
SCANFRAC.C 4032 1461 deflated
SCRNMACS.H 2869 1179 deflated
SCRNPICK.C 1666 690 deflated
SCRNSAVE.C 1694 644 deflated
SCROLL.C 1799 533 deflated
SERIAL.C 10522 2221 deflated
SERIAL.H 5572 1507 deflated
SETENVAR.C 4153 1318 deflated
SETIMETO.C 1367 504 deflated
SETVOL.C 5369 1589 deflated
SHARING.TXT 2038 1015 deflated
SHEL2DOS.C 1110 509 deflated
SNIPPETS.(C) 2247 1085 deflated
SNIPPETS.NDX 31397 10010 deflated
SNIPPETS.RAT 2906 1421 deflated
SNIPPETS.TXT 3242 1461 deflated
SNIPPETS.WC 29554 5802 deflated
SORTS.TXT 3354 1376 deflated
SOUND.C 598 308 deflated
SOUND.H 4017 1385 deflated
SOUNDEX.C 1109 416 deflated
SPEED.C 3928 699 deflated
SPIN.C 868 399 deflated
SPLIT.C 1900 732 deflated
SRCHFILE.C 6017 1579 deflated
SSTRCPY.C 220 120 deflated
STATS.C 1784 617 deflated
STK.C 1993 680 deflated
STK.H 1368 455 deflated
STORAGE.TYP 1993 469 deflated
STPTOK.C 1112 486 deflated
STR.CPP 6491 1396 deflated
STR.DOC 1987 1002 deflated
STR.H 7003 1306 deflated
STR27SEG.C 3962 892 deflated
STRAT.C 4059 1240 deflated
STRAT.H 454 254 deflated
STRDEL.C 1090 451 deflated
STRDELCH.C 1076 450 deflated
STRDUP.C 273 176 deflated
STRECPY.ASM 3467 1262 deflated
STRFTIME.C 9991 2446 deflated
STRIPEOF.C 1473 528 deflated
STRISTR.C 1837 681 deflated
STRREPL.C 2020 861 deflated
STRREV.C 644 321 deflated
STRSORT.C 1299 482 deflated
STRUCFIL.C 5400 1601 deflated
STRUPR.C 762 272 deflated
STUB.C 3446 1292 deflated
STYLE.C 1733 531 deflated
SUNRISET.C 21721 4741 deflated
TABTRICK.C 1610 609 deflated
TAIL.C 4738 1469 deflated
TASKER.C 2703 723 deflated
TASKER.H 758 336 deflated
TASKER.TXT 3106 1382 deflated
TESTCMT.C 332 158 deflated
TEXTMOD.C 2023 689 deflated
TIMEGETC.C 830 408 deflated
TOASCII.C 2430 703 deflated
TODAYBAK.C 2270 912 deflated
TOOLKIT.H 1670 799 deflated
TOSYSOPS.TXT 2380 1116 deflated
TOUCH.C 1979 678 deflated
TP6TOD.C 1909 839 deflated
TPCREAD.ME 199 165 deflated
TRANSLAT.C 1696 512 deflated
TRAPDEMO.C 1710 655 deflated
TRAPFLAG.ASM 3886 1087 deflated
TREEDIR.C 1298 532 deflated
TRIM.C 1688 548 deflated
TRUENAME.C 2125 933 deflated
UCLOCK.C 3806 1433 deflated
UCLOCK.H 1187 571 deflated
UNIX2DOS.C 267 176 deflated
UUDECODE.C 1116 452 deflated
UUENCODE.C 3223 1363 deflated
VFNAME.C 6572 2097 deflated
VIDEO.C 6039 1139 deflated
VIDPORT.C 2502 820 deflated
VT100.TXT 9499 2557 deflated
WB_FCOPY.C 2596 923 deflated
WC.C 1444 598 deflated
WEIRD.C 287 177 deflated
WHERE.C 3566 1238 deflated
WHICHARC.C 8639 2131 deflated
WHICH_C.TXT 15567 6503 deflated
WINDCHIL.C 523 302 deflated
WORDWRAP.C 2346 663 deflated
W_WRAP.C 5206 1963 deflated
W_WRAP.H 148 112 deflated
X00API.C 11272 1888 deflated
X00API.H 7691 2015 deflated
XFILE.C 5219 2024 deflated
XFILE.H 748 332 deflated
XSTRCAT.C 696 327 deflated
XSTRCMP.C 1623 481 deflated
XTEST.C 821 306 deflated

Download File SNIP9503.ZIP Here

Contents of the READ.ME file


The SNIPPETS collection is an archive
of over 400 separate files, over 50,000
lines of mostly C/C++ source code - all
public domain and freeware - which
contains the best answers to "How do
I...?" questions.
Before you start, read SNIPPETS.TXT for instructions and information.


 December 10, 2017  Add comments

Leave a Reply