C-SIG - C++ LANGUAGE, SPECIAL INTEREST GROUP ACGNJ - AMETEUR COMPUTER GROUP OF N.J. Chairman - B.Arnold (908)735-7898 Vice Chairman - R. Winter MEETINGS - 3rd Tuesday, Scotch Plains Rescue Squad, 7:30 PM approx. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9501.ZIP - // Object: To produce a Radio Station Log Printout by accessing // a special ASCII database called "RADIO.DAT". // The entire datafile is read into memory. Since a 'large' // program model is used, over 5000 lines may be stored. // // Algorithm: For each minute (MINUTE) of the day (DATE): // For each data line: // if (DATE >= 1stDate && DATE <= LstDATE && // MINUTE == RUNAT) // then Print the data line to the output. // Loop // Loop Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 10680 Implode 3533 67% 01-19-95 21:21 f8d87e13 --w- RL.C 12290 Implode 8019 35% 01-19-95 21:21 fc2fd225 --w- RL.EXE 1586 Implode 705 56% 01-07-95 18:50 400d6545 --w- RADIO.DAT ------ ------ --- ------- 24556 12257 51% 3 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9503.ZIP - // NOTE: This is a Windows (tm) version of the program presented at // the Feb, 95 meeting of the ACGNJ also called 'hayes.c'. // // OBJECT: to read the status registers in a HAYES COMPATIBLE modem and // and show their meanings and values. // // Characters typed will be sent to the modem. Likewise, // characters received will be sent to the screen. // The command 'AT&V' will is sent to the modem to display // the internal modem settings. A memu item will initiate // the deciphering of the codes which will then be displayed // in a scrollable window. Compiler: Borland C++, large model. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 12785 DeflatN 4491 65% 03-20-95 19:39 a60a5c9f --w- WINHAYES.C 766 DeflatN 154 80% 03-18-95 17:39 56a70fc2 --w- WINHAYES.ICO 72 DeflatN 70 3% 03-18-95 17:39 549f21c8 --w- WINHAYES.RC 69138 DeflatN 27626 61% 03-20-95 19:50 06bd447a --w- WINHAYES.EXE 353 DeflatN 223 37% 03-12-95 19:40 dd1085bb --w- WINHAYES.DEF 6850 DeflatN 2347 66% 02-19-95 23:16 faa34b0d --w- ATINFO.H ------ ------ --- ------- 89964 34911 62% 6 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9505.ZIP - * OBJECT: To inventory all file space used on a hard drive and display a * sorted list of the top level subdirectories and the total space * occupied under each one. The program demonstrates DOS-based * direct video I/O. Enhancements include window scrolling and the * use of computed cluster sizes. (compiler: Borlandc C++ 3.1 ) Sample output: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³ Directory Megabyte Sizes for Drive E: 05/11/95 17:19:15 ³ ---------------------------------------------------------- ³ 1 E:\ 7 LOTUSAPP 9 SQLBASE ³ 7 123 9 MAYNARD 1 TMP ³ 8 123R3 2 MF 38 WINDOWS ³ 3 APPS 1 MF1 10 WP51 ³ 9 CCADMIN 11 MSAPPS 12 WPC20 ³ 6 CCDATA 77 MSOFFICE 1 WPCNET ³ 1 CCDATAOL 6 MSWORKS 19 WPWIN60 ³ 90 CCHUB 1 NWCARE 475 MB used ³ 2 CCMAIL 1 PCLFONTS 280 MB avail ³ 1 CLARIS 7 PDOX35 ³ 1 DS 4 PILLAR_C ³ ............ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[ FIGURE 1 ]ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 14464 DeflatN 9108 38% 05-15-95 04:14 6c25a8f9 --w- DSIZ.EXE 11725 DeflatN 3778 68% 05-15-95 04:17 1756d4df --w- DSIZ99.C ------ ------ --- ------- 26189 12886 51% 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9506.ZIP - // Object: a big number class // // Since the discussion of a temperature monitoring circuit board // presented to the user's group last week, I thought it would be // interesting to present a very simple CPP class which displays // large numbers on the screen. Buttons.cpp program is a small windows program. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 402 DeflatN 240 41% 06-11-95 10:42 2bfb983f --w- BUTTONS.DEF 2187 DeflatN 156 93% 06-18-95 23:04 8b08a446 --w- BIG.001 391 DeflatN 132 67% 06-18-95 22:11 518d6f43 --w- BUTTN_ID.H 3853 DeflatN 1201 69% 06-18-95 21:35 74ee5fc3 --w- BIG.CPP 26602 DeflatN 18051 33% 06-18-95 21:35 a9206d2c --w- BIG.EXE 1323 DeflatN 557 58% 06-18-95 22:11 339e87f4 --w- BUTTONS.RC 766 DeflatN 157 80% 06-13-95 22:18 2d966dbe --w- BUTTON1.ICO 5141 DeflatN 1802 65% 06-18-95 22:47 fce02420 --w- BUTTONS.C 58560 DeflatN 24323 59% 06-18-95 22:32 97b9151e --w- BUTTONS.EXE ------ ------ --- ------- 99225 46619 54% 9 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9507.ZIP - // Object: to define a CLASS to present a Thermometer window // for showing disk write progress. // Activity monitor skips screen update if called more than // 18 times per second. // Object: to copy a file and show progress using a thermo bar graph. // /* SAMPLE OUTPUT: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ SAVING ALL FILE INFORMATION ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ ³ ³ ³ ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ ³ ³ ³ |.........|.........|.........|.........|.........| ³ ³ ³ 0 20 40 60 80 100 ³ ³ ³ ³ ³ ³ 100 % ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ[ FIGURE 1 ]ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 1639 DeflatN 779 53% 07-12-95 23:35 1a37479f --w- IN1.CPP 8404 DeflatN 5386 36% 07-16-95 15:42 28effd96 --w- PI.EXE 2220 DeflatN 902 60% 07-12-95 23:35 6ed771c7 --w- IN2.CPP 3129 DeflatN 1227 61% 07-16-95 15:22 128550ce --w- THERMO.CPP 3304 DeflatN 1205 64% 07-16-95 15:23 c7528831 --w- IN3.CPP 5591 DeflatN 2118 63% 07-16-95 13:17 cf410406 --w- PI.C 15126 DeflatN 9902 35% 07-16-95 11:24 b968e3e2 --w- FILECOPY.EXE 3035 DeflatN 1012 67% 07-16-95 11:24 c31f8dc0 --w- FILECOPY.CPP 10508 DeflatN 6805 36% 07-16-95 15:41 85d757ee --w- IN3.EXE 12388 DeflatN 7979 36% 07-16-95 15:18 4cac6f69 --w- IN2.EXE 12276 DeflatN 7921 36% 07-16-95 15:18 f25f475d --w- IN1.EXE ------ ------ --- ------- 77620 45236 42% 11 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9508.ZIP - The object of the program is to display a dBase (tm) file.\n" Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 6664 DeflatN 4077 39% 08-13-95 22:44 6c28b248 --w- HEX.EXE 1146 DeflatN 577 50% 08-13-95 22:43 a181628c --w- HEX.C 1111 DeflatN 504 55% 08-07-95 21:37 8f5590eb --w- DBASE.H 5896 DeflatN 2025 66% 08-13-95 22:36 6a81c684 --w- TYPEDB.C 12466 DeflatN 8193 35% 08-13-95 22:36 62110266 --w- TYPEDB.EXE ------ ------ --- ------- 27283 15376 44% 5 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9509.ZIP - Sample code from Ron Winter's talk. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 287 DeflatN 228 21% 09-19-95 13:42 a6fdb631 --w- READ.ME 49581 DeflatN 10688 79% 09-19-95 13:30 471ee6c2 --w- SAMPLES.C 48232 DeflatN 8422 83% 09-19-95 13:30 f4b8890c --w- SAMPLES1.C ------ ------ --- ------- 98100 19338 81% 3 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9510.ZIP MicroSPELL is a stand alone spell checker which scans text files and reports on misspelled words. It has a 1000 word common word list and a 67,000 word main dictionary. Multiple user dictionaries can also be used during a spell check. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 298040 DeflatN 295429 1% 10-17-95 10:15 d1831bb1 --w- ANAGRAMS.ZIP 4981 DeflatN 2250 55% 07-04-92 21:47 e820d5e9 --w- README 221671 Stored 221671 0% 10-17-95 07:39 c3a58285 --w- US20.ZIP ------ ------ --- ------- 524692 519350 2% 3 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9511.ZIP // Object: to demonstrate the windows API "GetWindowPlacement" function. // // Compiler: Borland BC++ 3.1 large model. A WINDOWS (tm) APPLICATION // ************************** // Features: // 1. Program remembers its size. // 2. Displays an "ACGNJ LOGO" bitmap. // 3. Configuration saved in an '.ini' file. // Object: to search for a town in the database AREACODE.DAT // // Compile: bcc -w -ml -Ox ... (BC++ 3.1 large model) Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 17010 DeflatN 806 96% 11-19-95 10:22 da6368ea --w- ACGNJ.BMP 28672 DeflatN 5615 81% 11-19-95 12:20 08b5ebe0 --w- GETWIN.EXE 303 DeflatN 204 33% 11-18-95 21:21 d5bb56e5 --w- GETWIN.DEF 766 DeflatN 181 77% 11-18-95 21:57 8e2be31d --w- GETWIN.ICO 111 DeflatN 97 13% 11-19-95 00:16 666955d3 --w- GETWIN0.BAT 59 Stored 59 0% 11-19-95 10:40 dd41c81b --w- GETWIN.RC 7761 DeflatN 2698 66% 11-19-95 12:20 da6d7c1d --w- GETWIN.C 4298 DeflatN 1724 60% 11-19-95 22:20 3fc6c947 --w- AC.C 14892 DeflatN 8909 41% 11-19-95 22:21 fc3f766e --w- AC.EXE 354360 DeflatN 101129 72% 08-30-95 12:42 4c09d2e9 --w- AREACODE.DAT ------ ------ --- ------- 428232 121422 72% 10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9512.ZIP ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ CHANGE.exe Batch file editor ver 1.12 B.Arnold 9/95 ³ ³ ³ ³ Object: To change any binary or ASCII file by replacing ³ ³ one string with another. ³ ³ ³ ³ CHANGE filename(s) -oldstring -newstring ³ ³ where: strings must be at least 2 characters long ³ ³ and must be of equal length for binary files. ³ ³ ³ ³ Example1: CHANGE TEST.DAT -NAME1 -NAME2 ³ ³ Example2: CHANGE *.DAT -NAME1 -NAME2 ³ ³ Example3: CHANGE WDSNA.CFG SESS*.WSF -WS011777 -WS013123 ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ // A windows (tm) EXIT utility. // // Object: To call the following when clicked, ExitWindows(0,0); // // Algo: create a small "quick exit" icon at screen position 25,0 // and wait for the user to click it. /***************************************************************** FRACDRAW.C -- Drawing with fractals Copyright 1990 by Dick Oliver, R1 Box 5140, Morrisville, VT 05661 A program for interactive fractal drawing. The author makes no claims as to readability or suitability for a particular task, but I'll be happy to give advice and assistance. *****************************************************************/ Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 0 Stored 0 0% 12-19-95 01:33 00000000 --wD TREE/ 0 Stored 0 0% 12-19-95 01:33 00000000 --wD CHANGE/ 0 Stored 0 0% 12-19-95 01:33 00000000 --wD EXITNOW/ 66567 DeflatN 16881 75% 12-17-95 23:46 349def33 --w- TREE/APR91.TXT 29671 DeflatN 6833 77% 12-18-95 00:08 66a71f49 --w- TREE/FRACDRAW.C 1629 DeflatN 659 60% 12-17-95 23:54 bd322d70 --w- TREE/PINE.H 13939 DeflatN 4655 67% 12-18-95 00:24 8cf44539 --w- TREE/TREE.C 48816 DeflatN 30568 38% 12-18-95 00:25 c9c0bb39 --w- TREE/TREE.EXE 10 Stored 10 0% 12-19-95 01:35 08497c94 --w- TREE/GO-TREE.BAT 53 Stored 53 0% 10-03-95 21:39 9abc64a2 --w- CHANGE/CH-GO.BAT 6008 DeflatN 1957 68% 10-08-95 14:15 97987569 --w- CHANGE/CHANGE.C 9693 DeflatN 9294 5% 10-08-95 14:15 961a9372 --w- CHANGE/CHANGE.EXE 13312 DeflatN 5599 58% 12-07-95 22:54 6f2adde5 --w- EXITNOW/EXITNOW.EXE 5240 DeflatN 2043 62% 12-07-95 22:52 1b186903 --w- EXITNOW/EXIT.C 303 DeflatN 202 34% 12-02-95 17:26 e8ee5d86 --w- EXITNOW/EXIT.DEF 27 DeflatN 25 8% 11-13-95 23:07 5d4665e8 --w- EXITNOW/EXIT.RC 766 DeflatN 229 71% 11-12-95 11:57 5e0dd11b --w- EXITNOW/EXIT1.ICO 197 DeflatN 175 12% 12-02-95 22:39 506325a2 --w- EXITNOW/GO.BAT 850 DeflatN 352 59% 01-15-96 21:41 a2673116 --w- NET.TXT ------ ------ --- ------- 197081 79535 60% 19