Implementing graphs in C++

Hello friends

I am just a beginner in C++ and I need to construct a graph data structure using adjacency list. The graph has weights on both nodes and edges. I am really confused how to implement this structure.

Can anybody guide me how to do this?

Thanks a lot
Last edited on

Alternatively, you can decide to wait for future sessions of this class:

Although it is called c++ for c programmers, it might as well be called graph theory because that is what you will do in the class as you "learn c++"
Topic archived. No new replies allowed.