how to display the neighbors of each vertex.
[code]
#include <cstdlib>
#include <iostream>
#include <iomanip>
#define foreach
Last edited on
Is this code working or not?
As you have your templet class graph
in some "graph.h"
file.
If it's working then post the current output.
Topic archived. No new replies allowed.