blob: eaca369e824134120d70a35b8641c577e06afe12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#include <iostream>
#include "SavEdit.h"
int main(int argc, char *argv[])
{
// Create obj
SavEdit save;
if(argc == 2)
{
// Set the file name
save.setFilename(argv[1]);
}
// Select language.
//save.languageForm();
// Send greeting.
//save.greeting();
// store file in vector
save.open();
// print vector
//save.read();
// create the backup
save.backup();
// Test OT
//save.modify(0x2598, 0x259E);
// TEST OPTIONS
bool done = false;
while(!done)
done = save.select();
// Test the rival.
//save.modify(0x25F6, 0x25FC);
// Update the checksum.
//save.checksum();
// Save the new file
//save.saveNewFile();
return 0;
}
|