From c623dbec36c6d49dc9c96b29f9df41a864f19d83 Mon Sep 17 00:00:00 2001 From: Gheiserton Date: Tue, 25 Jul 2023 22:47:39 -0400 Subject: [PATCH] initial edits to main for input collection --- Project12/Project12.cpp | 7 +++++++ Project12/digraph.h | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Project12/Project12.cpp b/Project12/Project12.cpp index 8c48e87..bb4eed8 100644 --- a/Project12/Project12.cpp +++ b/Project12/Project12.cpp @@ -33,5 +33,12 @@ Notes #include "digraph.h" int main() { + int nodes; + + cout << "How many nodes will the digraph have?\nEnter number of nodes: "; + cin >> nodes; + + vector> relations; + } \ No newline at end of file diff --git a/Project12/digraph.h b/Project12/digraph.h index c6b0ae9..c2c0bdc 100644 --- a/Project12/digraph.h +++ b/Project12/digraph.h @@ -33,7 +33,9 @@ public: } - void + void removeNode(vector n) { + + } }; #endif \ No newline at end of file