home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-03-18 | 3.6 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Mar 17 20:06:31 1997, modified Mon Mar 17 20:06:31 1997, creator 'CWIE', type ASCII, 2789 bytes "ooftst03.cpp" , at 0xb65 674 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 6f 6f 66 74 73 74 | 30 33 2e 63 70 70 00 00 |..ooftst|03.cpp..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0a e5 00 | 00 02 a2 af 53 9b 17 af |........|....S...|
|00000060| 53 9b 17 00 00 0a 00 00 | 00 00 00 00 00 00 00 00 |S.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 2a e6 00 00 |........|....*...|
|00000080| 2f 2f 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |// Copyr|ight 199|
|00000090| 34 20 41 2e 44 2e 20 53 | 6f 66 74 77 61 72 65 2e |4 A.D. S|oftware.|
|000000a0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000b0| 72 76 65 64 0d 0d 2f 2f | 20 4f 4f 46 54 45 53 54 |rved..//| OOFTEST|
|000000c0| 33 0d 0d 2f 2f 20 74 68 | 69 73 20 73 61 6d 70 6c |3..// th|is sampl|
|000000d0| 65 20 74 72 69 65 73 20 | 61 20 6e 75 6d 62 65 72 |e tries |a number|
|000000e0| 20 6f 66 20 72 61 6e 64 | 6f 6d 20 75 70 64 61 74 | of rand|om updat|
|000000f0| 65 73 20 74 6f 20 74 65 | 73 74 20 6d 2f 75 0d 0d |es to te|st m/u..|
|00000100| 2f 2f 20 53 69 6d 70 6c | 65 20 73 74 72 65 61 6d |// Simpl|e stream|
|00000110| 20 49 2f 4f 20 69 73 20 | 75 73 65 64 20 74 6f 20 | I/O is |used to |
|00000120| 69 6e 74 65 72 61 63 74 | 20 77 69 74 68 20 74 68 |interact| with th|
|00000130| 65 20 75 73 65 72 2e 0d | 23 69 6e 63 6c 75 64 65 |e user..|#include|
|00000140| 20 22 6f 6f 66 69 6c 65 | 2e 68 22 0d 0d 23 69 6e | "oofile|.h"..#in|
|00000150| 63 6c 75 64 65 20 22 6f | 6f 66 74 73 74 30 32 2e |clude "o|oftst02.|
|00000160| 68 22 0d 0d 2f 2f 20 67 | 6c 6f 62 61 6c 20 76 61 |h"..// g|lobal va|
|00000170| 72 69 61 62 6c 65 73 20 | 74 68 61 74 20 64 65 66 |riables |that def|
|00000180| 69 6e 65 20 74 68 65 20 | 64 61 74 61 62 61 73 65 |ine the |database|
|00000190| 20 75 73 69 6e 67 20 74 | 68 65 20 6f 6f 66 74 73 | using t|he oofts|
|000001a0| 74 30 32 20 63 6c 61 73 | 73 65 73 0d 0d 09 64 62 |t02 clas|ses...db|
|000001b0| 43 6f 6e 6e 65 63 74 5f | 63 74 72 65 65 20 20 20 |Connect_|ctree |
|000001c0| 20 74 68 65 44 42 3b 0d | 09 64 62 50 61 74 69 65 | theDB;.|.dbPatie|
|000001d0| 6e 74 73 20 20 20 20 20 | 50 61 74 69 65 6e 74 73 |nts |Patients|
|000001e0| 3b 0d 09 64 62 56 69 73 | 69 74 73 09 56 69 73 69 |;..dbVis|its.Visi|
|000001f0| 74 73 3b 0d 09 64 62 52 | 65 6c 61 74 69 6f 6e 73 |ts;..dbR|elations|
|00000200| 68 69 70 20 50 61 74 69 | 65 6e 74 56 69 73 69 74 |hip Pati|entVisit|
|00000210| 73 28 50 61 74 69 65 6e | 74 73 2e 56 69 73 69 74 |s(Patien|ts.Visit|
|00000220| 73 2c 20 56 69 73 69 74 | 73 2e 50 61 74 69 65 6e |s, Visit|s.Patien|
|00000230| 74 29 3b 0d 09 0d 0d 23 | 69 66 64 65 66 20 5f 57 |t);....#|ifdef _W|
|00000240| 69 6e 64 6f 77 73 0d 23 | 69 6e 63 6c 75 64 65 20 |indows.#|include |
|00000250| 3c 77 69 6e 64 6f 77 73 | 2e 68 3e 0d 76 6f 69 64 |<windows|.h>.void|
|00000260| 20 79 69 65 6c 64 54 69 | 6d 65 28 29 3b 0d 76 6f | yieldTi|me();.vo|
|00000270| 69 64 20 79 69 65 6c 64 | 54 69 6d 65 28 29 20 7b |id yield|Time() {|
|00000280| 0d 09 4d 53 47 20 6d 73 | 67 3b 0d 09 50 65 65 6b |..MSG ms|g;..Peek|
|00000290| 4d 65 73 73 61 67 65 28 | 26 6d 73 67 2c 20 30 2c |Message(|&msg, 0,|
|000002a0| 20 30 2c 20 30 2c 20 50 | 4d 5f 4e 4f 52 45 4d 4f | 0, 0, P|M_NOREMO|
|000002b0| 56 45 29 3b 0d 7d 0d 23 | 65 6e 64 69 66 0d 0d 69 |VE);.}.#|endif..i|
|000002c0| 6e 74 20 6d 61 69 6e 28 | 29 0d 7b 0d 09 63 6f 75 |nt main(|).{..cou|
|000002d0| 74 20 3c 3c 20 22 4f 4f | 46 49 4c 45 20 56 61 6c |t << "OO|FILE Val|
|000002e0| 69 64 61 74 69 6f 6e 20 | 53 75 69 74 65 20 2d 20 |idation |Suite - |
|000002f0| 54 65 73 74 20 33 5c 6e | 22 0d 09 09 20 3c 3c 20 |Test 3\n|"... << |
|00000300| 22 53 69 6d 70 6c 65 20 | 72 61 6e 64 6f 6d 20 75 |"Simple |random u|
|00000310| 70 64 61 74 65 73 20 74 | 65 73 74 69 6e 67 20 6d |pdates t|esting m|
|00000320| 75 6c 74 69 2d 75 73 65 | 72 22 20 3c 3c 20 65 6e |ulti-use|r" << en|
|00000330| 64 6c 0d 09 09 20 3c 3c | 20 22 75 73 69 6e 67 20 |dl... <<| "using |
|00000340| 61 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 64 61 |a copy o|f the da|
|00000350| 74 61 62 61 73 65 20 66 | 72 6f 6d 20 6f 6f 66 74 |tabase f|rom ooft|
|00000360| 65 73 74 32 22 20 3c 3c | 20 65 6e 64 6c 3b 0d 0d |est2" <<| endl;..|
|00000370| 2f 2f 20 67 65 74 20 70 | 72 6f 62 61 62 6c 79 20 |// get p|robably |
|00000380| 72 65 6d 6f 74 65 20 66 | 69 6c 65 20 70 61 74 68 |remote f|ile path|
|00000390| 0d 09 63 68 61 72 20 72 | 65 6d 6f 74 65 50 61 74 |..char r|emotePat|
|000003a0| 68 5b 32 35 35 5d 3b 0d | 09 63 6f 75 74 20 3c 3c |h[255];.|.cout <<|
|000003b0| 20 22 45 6e 74 65 72 20 | 66 75 6c 6c 20 66 69 6c | "Enter |full fil|
|000003c0| 65 20 70 61 74 68 2c 20 | 70 72 6f 62 61 62 6c 79 |e path, |probably|
|000003d0| 20 61 20 72 65 6d 6f 74 | 65 20 64 69 73 6b 3a 20 | a remot|e disk: |
|000003e0| 22 20 3c 3c 20 65 6e 64 | 6c 20 0d 09 20 20 20 20 |" << end|l .. |
|000003f0| 20 3c 3c 20 22 28 65 67 | 3a 20 4d 61 63 20 52 65 | << "(eg|: Mac Re|
|00000400| 6d 6f 74 65 20 44 69 73 | 6b 3a 6f 6f 66 69 6c 65 |mote Dis|k:oofile|
|00000410| 3a 6f 6f 66 74 73 74 30 | 33 2e 64 62 20 20 4f 52 |:ooftst0|3.db OR|
|00000420| 20 20 45 3a 5c 5c 4f 4f | 46 49 4c 45 5c 5c 4f 4f | E:\\OO|FILE\\OO|
|00000430| 46 54 45 53 54 33 2e 44 | 42 29 22 20 3c 3c 20 65 |FTEST3.D|B)" << e|
|00000440| 6e 64 6c 3b 0d 09 63 69 | 6e 2e 67 65 74 6c 69 6e |ndl;..ci|n.getlin|
|00000450| 65 28 72 65 6d 6f 74 65 | 50 61 74 68 2c 20 32 35 |e(remote|Path, 25|
|00000460| 35 29 3b 0d 09 0d 09 63 | 6f 75 74 20 3c 3c 20 65 |5);....c|out << e|
|00000470| 6e 64 6c 20 3c 3c 20 22 | 41 72 65 20 77 65 20 72 |ndl << "|Are we r|
|00000480| 75 6e 6e 69 6e 67 20 61 | 73 20 61 20 57 72 69 74 |unning a|s a Writ|
|00000490| 65 72 20 6f 72 20 52 65 | 61 64 65 72 20 28 52 2f |er or Re|ader (R/|
|000004a0| 57 29 3f 20 22 3b 0d 09 | 63 68 61 72 20 77 72 69 |W)? ";..|char wri|
|000004b0| 74 65 4f 52 72 65 61 64 | 3b 0d 09 63 69 6e 20 3e |teORread|;..cin >|
|000004c0| 3e 20 77 72 69 74 65 4f | 52 72 65 61 64 3b 0d 09 |> writeO|Rread;..|
|000004d0| 62 6f 6f 6c 20 61 73 57 | 72 69 74 65 72 20 3d 20 |bool asW|riter = |
|000004e0| 28 20 28 77 72 69 74 65 | 4f 52 72 65 61 64 3d 3d |( (write|ORread==|
|000004f0| 27 57 27 29 20 7c 7c 20 | 28 77 72 69 74 65 4f 52 |'W') || |(writeOR|
|00000500| 72 65 61 64 3d 3d 27 77 | 27 29 20 29 3b 0d 0d 2f |read=='w|') );../|
|00000510| 2f 09 69 66 20 28 64 62 | 43 6f 6e 6e 65 63 74 3a |/.if (db|Connect:|
|00000520| 3a 66 69 6c 65 45 78 69 | 73 74 73 28 22 6f 6f 66 |:fileExi|sts("oof|
|00000530| 74 65 73 74 33 2e 64 62 | 22 29 29 0d 2f 2f 20 4a |test3.db|")).// J|
|00000540| 55 53 54 20 41 53 53 55 | 4d 45 20 49 54 20 44 4f |UST ASSU|ME IT DO|
|00000550| 45 53 20 2d 20 74 68 69 | 73 20 66 75 6e 63 74 69 |ES - thi|s functi|
|00000560| 6f 6e 20 64 6f 65 73 6e | 27 74 20 77 6f 72 6b 20 |on doesn|'t work |
|00000570| 69 66 20 66 69 6c 65 20 | 61 6c 72 65 61 64 79 20 |if file |already |
|00000580| 6f 70 65 6e 21 0d 09 09 | 74 68 65 44 42 2e 6f 70 |open!...|theDB.op|
|00000590| 65 6e 43 6f 6e 6e 65 63 | 74 69 6f 6e 28 72 65 6d |enConnec|tion(rem|
|000005a0| 6f 74 65 50 61 74 68 29 | 3b 0d 2f 2f 09 65 6c 73 |otePath)|;.//.els|
|000005b0| 65 20 7b 0d 2f 2f 09 09 | 64 62 43 6f 6e 6e 65 63 |e {.//..|dbConnec|
|000005c0| 74 3a 3a 72 61 69 73 65 | 28 22 50 6c 65 61 73 65 |t::raise|("Please|
|000005d0| 20 63 6f 70 79 20 6f 6f | 66 74 65 73 74 32 2e 64 | copy oo|ftest2.d|
|000005e0| 62 20 28 66 72 6f 6d 20 | 72 75 6e 6e 69 6e 67 20 |b (from |running |
|000005f0| 6f 6f 66 74 65 73 74 32 | 29 20 74 6f 20 6f 6f 66 |ooftest2|) to oof|
|00000600| 74 65 73 74 33 2e 64 62 | 22 29 3b 0d 2f 2f 09 7d |test3.db|");.//.}|
|00000610| 0d 09 0d 09 69 66 20 28 | 61 73 57 72 69 74 65 72 |....if (|asWriter|
|00000620| 29 20 7b 0d 09 09 63 6f | 75 74 20 3c 3c 20 22 52 |) {...co|ut << "R|
|00000630| 65 70 65 61 74 65 64 6c | 79 20 75 70 64 61 74 69 |epeatedl|y updati|
|00000640| 6e 67 20 74 68 65 20 66 | 69 72 73 74 20 72 65 63 |ng the f|irst rec|
|00000650| 6f 72 64 2e 2e 2e 22 20 | 3c 3c 20 65 6e 64 6c 3b |ord..." |<< endl;|
|00000660| 0d 09 09 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |...unsig|ned long|
|00000670| 20 6e 75 6d 52 65 63 73 | 20 3d 20 50 61 74 69 65 | numRecs| = Patie|
|00000680| 6e 74 73 2e 63 6f 75 6e | 74 28 29 3b 0d 09 09 66 |nts.coun|t();...f|
|00000690| 6f 72 20 28 75 6e 73 69 | 67 6e 65 64 20 6c 6f 6e |or (unsi|gned lon|
|000006a0| 67 20 69 3d 30 3b 20 69 | 3c 31 30 30 30 30 30 20 |g i=0; i|<100000 |
|000006b0| 3b 20 69 2b 2b 29 20 7b | 0d 09 09 09 75 6e 73 69 |; i++) {|....unsi|
|000006c0| 67 6e 65 64 20 6c 6f 6e | 67 20 74 68 65 52 65 63 |gned lon|g theRec|
|000006d0| 20 3d 20 72 61 6e 64 28 | 29 25 6e 75 6d 52 65 63 | = rand(|)%numRec|
|000006e0| 73 3b 0d 09 09 09 0d 09 | 2f 2f 20 69 66 20 74 75 |s;......|// if tu|
|000006f0| 72 6e 69 6e 67 20 6f 6e | 20 6c 6f 63 6b 69 6e 67 |rning on| locking|
|00000700| 2c 20 75 6e 63 6f 6d 6d | 65 6e 74 20 68 65 72 65 |, uncomm|ent here|
|00000710| 20 61 6e 64 20 61 74 20 | 65 6e 64 20 6f 66 20 74 | and at |end of t|
|00000720| 68 69 73 20 62 6c 6f 63 | 6b 0d 09 2f 2f 20 62 75 |his bloc|k..// bu|
|00000730| 74 20 72 65 6d 65 6d 62 | 65 72 20 31 20 77 72 69 |t rememb|er 1 wri|
|00000740| 74 65 72 2f 6d 61 6e 79 | 20 72 65 61 64 65 72 73 |ter/many| readers|
|00000750| 20 64 6f 65 73 6e 27 74 | 20 72 65 71 75 69 72 65 | doesn't| require|
|00000760| 20 79 6f 75 20 74 6f 20 | 64 6f 20 61 6e 79 74 68 | you to |do anyth|
|00000770| 69 6e 67 0d 09 09 09 74 | 68 65 44 42 2e 65 6e 74 |ing....t|heDB.ent|
|00000780| 65 72 57 72 69 74 65 4c | 6f 63 6b 69 6e 67 28 29 |erWriteL|ocking()|
|00000790| 3b 0d 09 09 09 50 61 74 | 69 65 6e 74 73 2e 73 74 |;....Pat|ients.st|
|000007a0| 61 72 74 28 29 3b 20 2f | 2f 20 63 6f 6d 6d 65 6e |art(); /|/ commen|
|000007b0| 74 20 6f 75 74 20 74 68 | 69 73 20 6c 69 6e 65 20 |t out th|is line |
|000007c0| 69 66 20 79 6f 75 20 77 | 61 6e 74 20 72 61 6e 64 |if you w|ant rand|
|000007d0| 6f 6d 20 75 70 64 61 74 | 65 73 0d 2f 2f 20 49 46 |om updat|es.// IF|
|000007e0| 20 59 4f 55 20 57 41 4e | 54 20 52 41 4e 44 4f 4d | YOU WAN|T RANDOM|
|000007f0| 09 09 09 09 09 50 61 74 | 69 65 6e 74 73 5b 74 68 |.....Pat|ients[th|
|00000800| 65 52 65 63 5d 3b 09 2f | 2f 20 6a 75 6d 70 20 74 |eRec];./|/ jump t|
|00000810| 6f 20 61 20 72 61 6e 64 | 6f 6d 20 72 65 63 6f 72 |o a rand|om recor|
|00000820| 64 0d 09 09 09 63 6f 75 | 74 20 3c 3c 20 22 57 72 |d....cou|t << "Wr|
|00000830| 69 74 69 6e 67 20 72 65 | 63 3a 20 22 20 3c 3c 20 |iting re|c: " << |
|00000840| 74 68 65 52 65 63 20 3c | 3c 20 27 5c 74 27 20 3c |theRec <|< '\t' <|
|00000850| 3c 20 50 61 74 69 65 6e | 74 73 2e 4c 61 73 74 4e |< Patien|ts.LastN|
|00000860| 61 6d 65 20 3c 3c 20 22 | 20 22 20 3c 3c 20 50 61 |ame << "| " << Pa|
|00000870| 74 69 65 6e 74 73 2e 53 | 61 6c 61 72 79 3b 0d 09 |tients.S|alary;..|
|00000880| 09 09 50 61 74 69 65 6e | 74 73 2e 53 61 6c 61 72 |..Patien|ts.Salar|
|00000890| 79 20 3d 20 50 61 74 69 | 65 6e 74 73 2e 53 61 6c |y = Pati|ents.Sal|
|000008a0| 61 72 79 20 2b 20 31 3b | 0d 09 09 09 50 61 74 69 |ary + 1;|....Pati|
|000008b0| 65 6e 74 73 2e 73 61 76 | 65 52 65 63 6f 72 64 28 |ents.sav|eRecord(|
|000008c0| 29 3b 09 0d 09 09 09 50 | 61 74 69 65 6e 74 73 2e |);.....P|atients.|
|000008d0| 75 6e 6c 6f 61 64 52 65 | 63 6f 72 64 28 29 3b 20 |unloadRe|cord(); |
|000008e0| 20 2f 2f 20 66 6f 72 63 | 65 20 72 65 61 64 20 66 | // forc|e read f|
|000008f0| 72 6f 6d 20 64 69 73 6b | 0d 09 09 09 63 6f 75 74 |rom disk|....cout|
|00000900| 20 3c 3c 20 22 20 2e 2e | 2e 20 22 20 3c 3c 20 50 | << " ..|. " << P|
|00000910| 61 74 69 65 6e 74 73 2e | 53 61 6c 61 72 79 20 3c |atients.|Salary <|
|00000920| 3c 20 65 6e 64 6c 3b 0d | 09 09 09 74 68 65 44 42 |< endl;.|...theDB|
|00000930| 2e 65 78 69 74 4c 6f 63 | 6b 69 6e 67 28 29 3b 0d |.exitLoc|king();.|
|00000940| 23 69 66 64 65 66 20 5f | 57 69 6e 64 6f 77 73 0d |#ifdef _|Windows.|
|00000950| 09 09 09 79 69 65 6c 64 | 54 69 6d 65 28 29 3b 0d |...yield|Time();.|
|00000960| 23 65 6e 64 69 66 0d 09 | 09 7d 0d 09 7d 0d 09 65 |#endif..|.}..}..e|
|00000970| 6c 73 65 20 7b 0d 09 09 | 63 6f 75 74 20 3c 3c 20 |lse {...|cout << |
|00000980| 22 52 61 6e 64 6f 6d 6c | 79 20 72 65 61 64 69 6e |"Randoml|y readin|
|00000990| 67 20 72 65 63 6f 72 64 | 73 2e 2e 2e 22 20 3c 3c |g record|s..." <<|
|000009a0| 20 65 6e 64 6c 3b 0d 09 | 09 75 6e 73 69 67 6e 65 | endl;..|.unsigne|
|000009b0| 64 20 6c 6f 6e 67 20 6e | 75 6d 52 65 63 73 20 3d |d long n|umRecs =|
|000009c0| 20 50 61 74 69 65 6e 74 | 73 2e 63 6f 75 6e 74 28 | Patient|s.count(|
|000009d0| 29 3b 0d 09 09 66 6f 72 | 20 28 75 6e 73 69 67 6e |);...for| (unsign|
|000009e0| 65 64 20 6c 6f 6e 67 20 | 69 3d 30 3b 20 69 3c 31 |ed long |i=0; i<1|
|000009f0| 30 30 30 30 30 20 3b 20 | 69 2b 2b 29 20 7b 0d 09 |00000 ; |i++) {..|
|00000a00| 09 09 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |..unsign|ed long |
|00000a10| 74 68 65 52 65 63 20 3d | 20 72 61 6e 64 28 29 25 |theRec =| rand()%|
|00000a20| 6e 75 6d 52 65 63 73 3b | 0d 09 09 09 0d 09 09 09 |numRecs;|........|
|00000a30| 50 61 74 69 65 6e 74 73 | 5b 74 68 65 52 65 63 5d |Patients|[theRec]|
|00000a40| 3b 09 2f 2f 20 6a 75 6d | 70 20 74 6f 20 61 20 72 |;.// jum|p to a r|
|00000a50| 61 6e 64 6f 6d 20 72 65 | 63 6f 72 64 0d 09 09 09 |andom re|cord....|
|00000a60| 63 6f 75 74 20 3c 3c 20 | 22 72 65 63 3a 20 22 20 |cout << |"rec: " |
|00000a70| 3c 3c 20 74 68 65 52 65 | 63 20 3c 3c 20 27 5c 74 |<< theRe|c << '\t|
|00000a80| 27 20 3c 3c 20 50 61 74 | 69 65 6e 74 73 2e 4c 61 |' << Pat|ients.La|
|00000a90| 73 74 4e 61 6d 65 20 3c | 3c 20 22 20 22 20 3c 3c |stName <|< " " <<|
|00000aa0| 20 50 61 74 69 65 6e 74 | 73 2e 53 61 6c 61 72 79 | Patient|s.Salary|
|00000ab0| 20 3c 3c 20 65 6e 64 6c | 3b 0d 23 69 66 64 65 66 | << endl|;.#ifdef|
|00000ac0| 20 5f 57 69 6e 64 6f 77 | 73 0d 09 09 09 79 69 65 | _Window|s....yie|
|00000ad0| 6c 64 54 69 6d 65 28 29 | 3b 0d 23 65 6e 64 69 66 |ldTime()|;.#endif|
|00000ae0| 0d 09 09 7d 0d 09 7d 0d | 0d 09 63 6f 75 74 20 3c |...}..}.|..cout <|
|00000af0| 3c 20 22 44 61 74 61 62 | 61 73 65 20 61 66 74 65 |< "Datab|ase afte|
|00000b00| 72 20 74 68 65 20 72 61 | 6e 64 6f 6d 20 75 70 64 |r the ra|ndom upd|
|00000b10| 61 74 65 73 22 20 3c 3c | 20 65 6e 64 6c 20 3c 3c |ates" <<| endl <<|
|00000b20| 20 50 61 74 69 65 6e 74 | 73 20 3c 3c 20 65 6e 64 | Patient|s << end|
|00000b30| 6c 3b 0d 09 63 6f 75 74 | 20 3c 3c 20 22 64 6f 6e |l;..cout| << "don|
|00000b40| 65 22 20 3c 3c 20 65 6e | 64 6c 3b 0d 0d 09 72 65 |e" << en|dl;...re|
|00000b50| 74 75 72 6e 20 45 58 49 | 54 5f 53 55 43 43 45 53 |turn EXI|T_SUCCES|
|00000b60| 53 3b 0d 7d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |S;.}....|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 01 00 00 00 02 1c | 00 00 01 1c 00 00 00 86 |........|........|
|00000b90| 00 00 48 7c 17 4f 4f 46 | 20 54 65 73 74 2e 63 70 |..H|.OOF| Test.cp|
|00000ba0| 70 20 28 33 20 54 41 42 | 4c 45 53 29 02 00 00 00 |p (3 TAB|LES)....|
|00000bb0| 0c 6f 6f 66 74 73 74 30 | 33 2e 63 70 70 30 02 00 |.ooftst0|3.cpp0..|
|00000bc0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000bd0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 b0 1b 75 f3 00 00 | 00 00 00 00 02 a2 00 00 |....u...|........|
|00000c00| 00 00 3b 21 00 01 00 00 | 00 00 00 00 00 00 00 00 |..;!....|........|
|00000c10| 00 00 1a 00 00 00 48 7c | 14 4f 4f 46 20 54 65 73 |......H||.OOF Tes|
|00000c20| 74 2e 63 70 70 34 39 30 | 36 33 39 31 34 73 02 00 |t.cpp490|63914s..|
|00000c30| 00 00 54 45 58 54 42 52 | 4f 57 00 00 00 00 00 00 |..TEXTBR|OW......|
|00000c40| 00 00 00 00 62 05 00 00 | 00 00 0b 8b 00 00 10 00 |....b...|........|
|00000c50| 00 00 00 00 02 78 00 00 | 08 00 ab 53 a7 e1 ab 53 |.....x..|...S...S|
|00000c60| a7 e1 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 14 b7 00 02 00 00 00 00 |........|........|
|00000c80| 00 00 00 78 00 00 00 00 | 00 48 00 48 00 00 00 00 |...x....|.H.H....|
|00000c90| 02 f0 02 40 ff dc ff ee | 02 f4 02 52 03 47 05 28 |...@....|...R.G.(|
|00000ca0| 03 fc 00 02 00 00 00 48 | 00 48 00 00 00 00 02 d8 |.......H|.H......|
|00000cb0| 02 28 00 01 00 00 00 64 | 00 00 00 01 00 03 03 03 |.(.....d|........|
|00000cc0| 00 ff 00 01 27 0f 00 01 | 00 01 00 00 00 00 00 00 |....'...|........|
|00000cd0| 00 00 00 00 00 00 60 08 | 00 19 01 90 00 00 00 00 |......`.|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 16 |........|........|
|00000d00| 01 00 00 00 00 00 00 00 | 01 00 01 00 00 07 07 43 |........|.......C|
|00000d10| 6f 75 72 69 65 72 00 00 | 00 08 00 00 00 00 00 00 |ourier..|........|
|00000d20| 00 00 00 00 00 22 00 02 | 00 00 01 f7 00 00 02 00 |....."..|........|
|00000d30| 09 79 69 65 6c 64 54 69 | 6d 65 00 00 02 47 00 00 |.yieldTi|me...G..|
|00000d40| 02 4b 05 6d 61 69 6e 00 | 00 00 00 04 00 01 00 01 |.K.main.|........|
|00000d50| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 30 ff c8 |...H..Mo|naco.0..|
|00000d60| 2d 0a 00 08 a3 8a 00 00 | 02 56 d1 b0 02 49 04 30 |-.......|.V...I.0|
|00000d70| 02 56 02 56 00 00 00 06 | 00 04 00 58 00 04 01 cd |.V.V....|...X....|
|00000d80| 02 6d 00 58 00 04 01 cd | 02 6d af 53 62 d7 00 00 |.m.X....|.m.Sb...|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000da0| 00 00 02 1c 00 00 01 1c | 00 00 00 86 02 49 08 98 |........|.....I..|
|00000db0| 2b 56 00 00 00 1c 00 86 | 00 03 4d 50 53 52 00 02 |+V......|..MPSR..|
|00000dc0| 00 22 46 50 52 46 00 00 | 00 46 46 50 72 66 00 00 |."FPRF..|.FFPrf..|
|00000dd0| 00 52 4d 57 42 42 00 00 | 00 5e 03 ee ff ff 00 00 |.RMWBB..|.^......|
|00000de0| 00 00 00 00 00 00 03 ef | ff ff 00 00 00 a2 00 00 |........|........|
|00000df0| 00 00 03 ed ff ff 00 00 | 00 d0 02 49 03 88 05 1a |........|...I....|
|00000e00| ff ff 00 00 00 7c 00 00 | 00 00 05 1a ff ff 00 00 |.....|..|........|
|00000e10| 00 96 00 00 00 00 03 f0 | ff ff 00 00 00 c8 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+