Specifics:
I'd like to have the following struct
struct edgeT {
string home;
string away;
int weight;
};
And then have a priority queue of type edgeT.
I wrote a quick program to test the priority queue, but I'm getting the following error msg.
'Template argument for 'template class minPQ' uses local type 'Main()::edgeT'
I just defined/declared the struct at the start of the main() routine.
Does the struct have to be defined somewhere else?