This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
const short int TRUE = 1, FALSE = 0; | |
template <class ListType>//type of data each evrtex stores | |
class Graph | |
{ | |
private: | |
int max; | |
struct vertex;//forward declaration for vertex structure |