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: CSIG9601.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 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9602.ZIP // RANDOM.CPP A graphical demo using random numbers. // A "shuffle the deck" CLASS // problem: create a function // int random_test( int flag, int low, int high ); // where flag is INIT to begin // NORMAL to return a random # in the range (low,high) // RANDOMIZE to seed to a new sequence Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 8668 DeflatN 3070 65% 02-11-96 18:52 4cf7b615 --w- RANDOM.CPP 20480 DeflatN 9089 56% 02-11-96 18:48 7d35b953 --w- RANDOM.EXE 65 Stored 65 0% 02-11-96 18:12 18df4e56 --w- RANDOM.INI 662 DeflatN 374 44% 02-11-96 17:33 d1662815 --w- RANDOM.NEW 205 DeflatN 179 13% 02-11-96 10:14 f60549a8 --w- RAN-GO.BAT 766 DeflatN 109 86% 02-11-96 07:53 e47bd983 --w- RANDOM.ICO 30 Stored 30 0% 02-11-96 07:53 8e9258cb --w- RANDOM.RC 296 DeflatN 210 30% 02-11-96 07:36 eccf8d72 --w- RANDOM.DEF 1358 DeflatN 605 56% 01-20-96 22:34 2bc29b73 --w- SHUFFLE.CPP 9142 DeflatN 5912 36% 01-20-96 22:29 ca1e06cd --w- SHUFFLE.EXE 760 DeflatN 405 47% 02-16-96 22:23 0ed755ea --w- SERIAL.CPP 8714 DeflatN 5746 35% 02-16-96 22:23 cc09a341 --w- SERIAL.EXE 22622 DeflatN 22600 1% 02-24-96 13:44 d3b368c0 --w- WINTER.ZIP ------ ------ --- ------- 73768 48394 35% 13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9603.ZIP // DU.CPP A graphical Disk Utility Pie chart. // // Part 1 of 2: The basic disk utility algorithm in windows. // Part 2 of 2: (future) Windows features: subdir names, sizes, title, etc. // Object: To search the directory tree and inventory all file sizes. // Compiler: Borland C++ Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 289 DeflatN 207 29% 03-15-96 23:56 16d15fc7 --w- DU.DEF 25066 DeflatN 8483 67% 03-17-96 11:33 9624a7f8 --w- DU.IDE 22 Stored 22 0% 03-16-96 09:08 9132d8bd --w- DU.RC 766 DeflatN 186 76% 03-09-96 04:02 a87c7344 --w- DU.ICO 58368 DeflatN 25100 57% 03-17-96 11:32 951e865f --w- DU.EXE 14897 DeflatN 4773 68% 03-17-96 11:28 6abae1c8 --w- DU.CPP ------ ------ --- ------- 99408 38771 61% 6 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9604.ZIP // Part 1 of 2: The basic disk utility algorithm in windows. // Part 2 of 2: Windows features: subdir names, sizes, title, etc. // Object: To search the directory tree and inventory all file sizes. // Compiler: Borland C++ Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 289 DeflatN 207 29% 04-08-96 00:01 16d15fc7 --w- DU.DEF 26098 DeflatN 8796 67% 04-14-96 10:06 b07ecd33 --w- DU.IDE 22 Stored 22 0% 04-08-96 00:01 9132d8bd --w- DU.RC 766 DeflatN 254 67% 04-08-96 00:01 3da6aa69 --w- DU.ICO 37376 DeflatN 15533 59% 04-14-96 21:41 ac34817c --w- DU.EXE 22187 DeflatN 6851 70% 04-14-96 20:56 342af0c0 --w- DU.CPP 7204 DeflatN 7039 3% 04-06-96 23:18 faf6313c --w- DU100.GIF 193 DeflatN 175 10% 04-13-96 14:53 5e7398ca --w- DUGO.BAT 378 DeflatN 258 32% 04-14-96 11:54 4d4c40c5 --w- DU_CD.CPP 11264 DeflatN 4826 58% 04-14-96 12:02 e1378bf2 --w- DU_CD.EXE 22 Stored 22 0% 04-08-96 00:01 9132d8bd --w- DU_CD.RC 202 DeflatN 178 12% 04-14-96 11:52 98fc3d67 --w- DU_CDGO.BAT ------ ------ --- ------- 106001 44161 59% 12 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9605.ZIP // NA1.cpp // Object: This is the first of a series of programs which show methods // for inputting Names and Addresses from the keyboard. // Each succeeding program will show improved methods of // data entry and the use of C++ classes. // Stars.cpp // Once the CLASS definitions are out of the way, a one (1) line 'main' // program will create hundreds of random 'stars'. It will then // erase them and exit. Keeping track of the details is hidden. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 7658 DeflatN 4958 36% 05-20-96 22:14 e5345bf9 --w- NA1.EXE 10046 DeflatN 6464 36% 05-20-96 22:14 a845743d --w- NA2.EXE 9552 DeflatN 6220 35% 05-20-96 22:14 0ef65988 --w- NA3.EXE 1525 DeflatN 740 52% 05-20-96 22:13 d8bdf5ee --w- NA5.CPP 10516 DeflatN 6794 36% 05-20-96 22:14 d65c969e --w- NA4.EXE 10796 DeflatN 7002 36% 05-20-96 22:14 cde071a7 --w- NA5.EXE 960 DeflatN 483 50% 05-20-96 22:13 5fc3da2e --w- NA4.CPP 3702 DeflatN 1387 63% 05-20-96 21:34 27576875 --w- NACLASS.CPP 946 DeflatN 463 52% 05-20-96 21:52 625f28b4 --w- NA2.CPP 999 DeflatN 488 52% 05-20-96 21:52 a6b09f63 --w- NA3.CPP 898 DeflatN 435 52% 05-20-96 21:52 1059373d --w- NA1.CPP 12254 DeflatN 7891 36% 01-31-96 20:49 e040f887 --w- STARS.EXE 1481 DeflatN 642 57% 01-31-96 20:49 a07cdffa --w- STARS.CPP ------ ------ --- ------- 71333 43967 39% 13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9608.ZIP // Object: to summarize the disk free space of all drives as follows. Drive C: 5,192 K free out of 136,348 Kbytes ßßßßßßßßßßßßßßßßßßßßßßßßÙ Drive D: 7,984 K free out of 210,920 Kbytes ßßßßßßßßßßßßßßßßßßßßßßßßÙ Drive E: 801,376 K free out of 1,249,696 Kbytes ßßßßßßßßßÁÄÄÄÄÁÄÄÄÄÁÄÄÄÄÙ Totals: 814,552 K free out of 1,596,964 Kbytes ßßßßßßßßßßßßÄÄÁÄÄÄÄÁÄÄÄÄÙ // The second version (DFW) is a Windows version of the same program. // Note: This program uses the "OWL Application Framework" included // with the compiler. This Object Windows (class) Library // replaces most of the Windows API functions with functions // contained with its C++ classes. The goal is to make Windows // programming simpler. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 152064 DeflatN 55869 64% 08-17-96 23:25 0c69fa48 --w- DFW.EXE 3572 DeflatN 1331 63% 08-17-96 22:24 d4684c09 --w- DF.H 106 DeflatN 87 18% 08-29-95 04:52 00cfd0dd --w- DFW.DEF 5822 DeflatN 1909 68% 08-18-96 23:25 00a021ee --w- DF.CPP 72 DeflatN 62 14% 08-11-96 21:03 ee2684b6 --w- DFW.RC 16566 DeflatN 9662 42% 08-18-96 23:30 ff36ff06 --w- DF.EXE 3285 DeflatN 1354 59% 08-17-96 23:18 848d4fc9 --w- DFW.CPP 3277 DeflatN 758 77% 08-17-96 23:20 b91b87dc --w- DFW.DSW 39508 DeflatN 12219 70% 08-17-96 23:20 de46fe54 --w- DFW.IDE 1118 DeflatN 381 66% 08-17-96 23:25 c1f35635 --w- DFW.RES ------ ------ --- ------- 225390 83632 63% 10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9610.ZIP /* ATTR95.c * OBJECT: to process hidden files for a Windows 95 (tm) disk copy. Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 5762 DeflatN 2236 62% 10-13-96 21:58 061039c8 --w- DFW.CPP 3223 DeflatN 1307 60% 10-13-96 21:09 243b4c04 --w- DF.H 106 DeflatN 87 18% 08-29-95 04:52 00cfd0dd --w- DFW.DEF 39702 DeflatN 12556 69% 10-13-96 23:43 cbaaf6a7 --w- DFW.IDE 72 DeflatN 62 14% 08-11-96 21:03 ee2684b6 --w- DFW.RC 1118 DeflatN 381 66% 10-13-96 21:59 c1f35635 --w- DFW.RES 164864 DeflatN 60494 64% 10-13-96 21:59 257b70a4 --w- DFW.EXE 33422 DeflatN 17718 47% 10-12-96 23:26 a75e7704 --w- ATTR95.EXE 6388 DeflatN 2358 64% 10-12-96 23:26 9d70655c --w- ATTR95.C ------ ------ --- ------- 254657 97199 62% 9 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Searching ZIP: CSIG9611.ZIP * Program: BBMENU.CPP * Description: This program creates a bounce-bar menu. * Comments: The original Pascal code was published in the * September 24, 1991 edition of PC Magazine * (Languages, page 425). The program was converted to * C++ using structures, and then refined by using a * structure nested within a class. // cpu.cpp A basic computer simulation COMPUTER: A device capable of performing a series of arithmetic or logical operations and controlled by a written program. The four major physical components: Central Processing Unit (CPU) Main storage - RAM Auxiliary storage - ROM, CDROM, DISK, and TAPE Input/Output devices - Keyboard, Screen and Printer Length Method Size Ratio Date Time CRC-32 Attr Name ------ ------ ----- ----- ---- ---- -------- ---- ---- 7393 DeflatN 1886 75% 11-17-96 21:36 9fa42a79 --w- BBMENU.CPP 1735 DeflatN 662 62% 11-17-96 21:36 882334ad --w- BBMENU.HPP 3784 DeflatN 919 76% 11-17-96 21:37 b46394da --w- MENUDEMO.CPP 34564 DeflatN 17135 51% 11-17-96 21:40 bc167bdc --w- MENUDEMO.EXE 2280 DeflatN 824 64% 11-17-96 21:36 a794ba73 --w- MENUDEMO.HPP 16384 DeflatN 5714 66% 11-18-96 23:04 59d30b57 --w- CPU9611.RTF 6764 DeflatN 2032 70% 10-28-96 21:44 e79b74f8 --w- CPU.CPP 39662 DeflatN 20703 48% 10-27-96 21:12 6757aef3 --w- CPU.EXE 1135 DeflatN 621 46% 10-28-96 21:44 fa60e97c --w- CPU.TXT 193 DeflatN 150 23% 10-30-96 22:33 bcd7cd6a --w- FACT6 97 DeflatN 70 28% 10-30-96 22:26 66c8c905 --w- FACT6.BAS 180 DeflatN 130 28% 10-30-96 22:30 9bf426c0 --w- FACT6.C 30614 DeflatN 16192 48% 10-30-96 22:30 ae9a5f8c --w- FACT6.EXE 214 DeflatN 152 29% 10-27-96 18:34 49d49f25 --w- TEST1 7027 DeflatN 2187 69% 11-18-96 23:37 d92373b0 --w- CPU.CPU 15233 DeflatN 3622 77% 11-18-96 23:38 c020cd3c --w- BOUNCE.BAR ------ ------ --- ------- 167259 72999 57% 16