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
Ranked #54.9K
~9K People Reached
Favorite Forums
Favorite Tags
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 ravi_forum

Sir, I wanted to know the implementation code for krushkal algorithm in C++. Anyone can help me to give the code. ThnQ

Member Avatar for naamurad
2
2K
Member Avatar for L7Sqr

Hello. This code snippet is a basic calculator. The general concept is that the calculator accepts infix expressions as strings, converts them to reverse polish notation by way of the shunting-yard algorithm and then evaluates the resulting expression. I tried to encapsulate the functionality of each piece so that, in …

Member Avatar for happyuk
2
6K