Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 03 / HexViewer / Source.cpp
diff options
context:
space:
mode:
1 files changed, 20 insertions, 0 deletions
-rw-r--r--Sem. 03/HexViewer/Source.cpp20
diff --git a/Sem. 03/HexViewer/Source.cpp b/Sem. 03/HexViewer/Source.cpp
new file mode 100644
index 0000000..f0dc05c
--- /dev/null
+++ b/Sem. 03/HexViewer/Source.cpp
@@ -0,0 +1,20 @@
+#include <iostream>
+#include <fstream>
+#include "HexViewer.h"
+using namespace std;
+
+int main()
+{
+ HexViewer h("MyNumber2.dat");
+
+ h.print();
+ h.addByte("FF");
+ h.print();
+
+ h.removeLastByte();
+ h.print();
+
+ h.changeByte(3, "63");
+ h.print();
+
+} \ No newline at end of file