class AdjacencyList : public Graph{
    private:
        std::vector<Edge> edges;
    public:
        AdjacencyList();
        void add_edge(const Edge& e){
            edges.push_back(e);
        }
        void print(){
            for(int i = 0;i<edges.size() ; i++){
                std::cout << "(" << edges[i]  << ")";
            }
        }
};
The issue I'm getting is that it gives me the following error:
/tmp/ccqBzTGI.o: In function `main':
test.cpp:(.text+0x3d): undefined reference to `AdjacencyList::AdjacencyList()'
/tmp/ccqBzTGI.o: In function `Graph::Graph()':
test.cpp:(.text._ZN5GraphC2Ev[_ZN5GraphC5Ev]+0xf): undefined reference to `vtable for Graph'
/tmp/ccqBzTGI.o:(.rodata._ZTI15AdjacencyMatrix[typeinfo for AdjacencyMatrix]+0x10): undefined reference to `typeinfo for Graph'
/tmp/ccqBzTGI.o:(.rodata._ZTI13AdjacencyList[typeinfo for AdjacencyList]+0x10): undefined reference to `typeinfo for Graph'
collect2: ld returned 1 exit status
I'm not sure how to even approach this issue.
Edit: I'm a fool and forgot to define a constructor I wrote.
 
    