diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..eaca369 --- /dev/null +++ b/main.cpp @@ -0,0 +1,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; +} |