Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 03 / HexViewer / Source.cpp
diff options
context:
space:
mode:
Commita8b45fa164b84cba9a744b79ed2bd912ab829510 (patch)
Author
 Angel Dimitriev <achi_d@abv.bg>
2022-04-11 23:27:45 +0300
Committer
 GitHub <noreply@github.com>
2022-04-11 23:27:45 +0300
Files3dd3009acfa0aac8fc87a33dd5f20b8f8d086e47 /Sem. 03/HexViewer/Source.cpp
Object-oriented_programming_FMI-a8b45fa164b84cba9a744b79ed2bd912ab829510.tar
Object-oriented_programming_FMI-a8b45fa164b84cba9a744b79ed2bd912ab829510.tar.gz
Object-oriented_programming_FMI-a8b45fa164b84cba9a744b79ed2bd912ab829510.zip
Parentb5438316e7200194ac3fced0439c951707208e6a (diff)
Add files via upload
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