aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:03:05 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-12 16:03:05 +0200
commitc0c6828e0652b177d36d15ded9801e419c07a64c (patch)
tree384703ee6135e7cc73cab995865a79b0eb3cc340
parent8d64376c70e4f291f1a8fb24488cb713216eb1f9 (diff)
restore non-crack main function
-rw-r--r--main.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/main.cpp b/main.cpp
index 032a812..e2721b1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -8,31 +8,6 @@ using std::cout;
using std::endl;
using std::ifstream;
-#include "Node.h"
-#include "GateAnd.h"
-
-int main() {
- // Observer ob();
- Net n, n1, o;
- Node *g = new GateAnd;
- try {
- g->addInput(&n);
- g->addInput(&n1);
- g->setOutput(&o);
-
- // o.setLevel(UNDEFINED);
- n.setLevel(HIGH);
- n1.setLevel(HIGH);
- int level = 22;
- level = o.getLevel();
- printf("hello world! %d\n", level);
- } catch(Exception& e) {
- std::cerr << e.what() << '\n';
- }
- return 0;
-}
-
-/*
int main(int argc, char** argv) {
Parser main_parser;
Circuit circuit;
@@ -61,4 +36,3 @@ int main(int argc, char** argv) {
return EXIT_SUCCESS;
}
-*/ \ No newline at end of file