ミラー

This commit is contained in:
2025-12-28 05:21:34 +09:00
commit 4442ef77d3
10 changed files with 1132 additions and 0 deletions

20
main.cc Normal file
View File

@@ -0,0 +1,20 @@
#include <iostream>
#include "src/hexeditor.hh"
int main(int argc, char *argv[]) {
if (argc != 2) {
std::cerr << "usage: hexagon <filename>\n";
return 1;
}
try {
HexEditor editor(argv[1]);
editor.run();
} catch (const std::exception &e) {
std::cerr << "エラー: " << e.what() << "\n";
return 1;
}
return 0;
}