Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im getting an error.. use of undeclared identifier Edge. where i think i identified it and its usage which i have circled but keep getting

im getting an error.. "use of undeclared identifier Edge." where i think i identified it and its usage which i have circled but keep getting this error image text in transcribed
uitecteu and weighted JUU YILI CUMelleu, #include #include #include 11 a structure to represent a weighted edge in gr struct Edge 10 11 int src, dest, weight; }; 13 14 // a structure to represent a connected, undirect // and weighted graph struct Graph 16 // V-> Number of vertices, E-> Number int V, E; // graph is represented as an array // Since the graph is undirected, the // from src to dest is also edge from H to src. DOLIL are munted as 1 edges struct Edge* edge; // Creates a graph with v vertices and E edges struct Graph* createGraph(int v, int E) struct Graph* graph; graph->V = V; graph->E-E, graph->edge = Edge [E]; return graph; 37 } 38 39 // A structure to represent a subset for union- 40 struct subset 41 { int narent

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions