diff options
Add files via upload
1 files changed, 20 insertions, 0 deletions
| -rw-r--r-- | Sem. 03/HexViewer/Source.cpp | 20 |
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 |
