Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 6
Member Avatar for thinkerman

Hello. I'm having trouble with creating a program based on Prim's algorithm. This is the program and got the following error: #include<iostream> #include<stdio.h> #include<conio.h> using namespace std; int weight[20][20],visited[20],d[20],p[20]; int v,e; void creategraph() { int i,j,a,b,w; cout<<"\nEnter number of vertices"; cin>>v; cout<<"\nEnter number of edges"; cin>>e; for(i=1;i<=v;i++) for(j=1;j<=v;j++) weight[i][j]=0; for(i=1;i<=v;i++) …

Member Avatar for Aiman_1
0
1K
Member Avatar for thinkerman

Purpose: Create a C++ class; use operators, overloading, member functions, friend functions, constructors and private data. • Make the data members private. (This means that the non-member functions below will have to be friends of the Data). • Create a member function called ‘set’ with the same arguments, and return …

Member Avatar for raptr_dflo
0
100