Changes to be committed: new file: Graph.cpp 1) Moved the actual declarations of functions from Graph.h into this file 2) Added get_p_edges() which will get all the edges from a specified point p 3) Added add_edge() which adds an edge between two points (start and end) modified: graph.h 1) Created initial function, constructor, and deconstructor declarations 2) Defined Point structure 3) Defined Edge structure modified: main.cpp 1) Removed any old code from my last project. I am starting clean on this file.
11 lines
108 B
C++
11 lines
108 B
C++
// Linked List Cycle.cpp :
|
|
|
|
#include "Graph.h"
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
int main() {
|
|
|
|
}
|
|
|