Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void dijkstra(int graph[>>>V][V], int src, int V)
- //array function being pasted, error is the V after >>>
- //V is defined at beginning of main as
- int V;
- while(std::getline(file2,newstr))
- {
- if(newstr.find(check) != std::string::npos)
- {
- V++;
- }
- }
- //where it is passed in main
- for(int i = 0; i < V; i++)
- {
- size = V;
- dijkstra(array[size][size], i, V);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement