Click here to Skip to main content
11,706,799 members (54,253 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C
Friends please give a code in C for following question.

C Program to insert and delete nodes in graph using adjacency matrix.

Note: We will enter edges between nodes of graph (undirected) and adjacency matrix will be created and displayed accordingly. On insertion and deletion of nodes edges in adjacency matrix will be updated accordingly.

No idea about this question please help me out.
Posted 4-Mar-11 3:26am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is the same as your question from 4 days ago.
Question on inserting and deleting nodes and edges of graph[^]
Only difference is, then you gave code. Buggy code, but code.

Remember it? The one you marked "solved"?
  Permalink  
Comments
CurrentlyBE at 4-Mar-11 9:36am
   
Yaa.. i know but that question was for graph nodes deletion and insertion. And this is about the deletion and insertion through adjacency matrix. matrix should be created rather than entered.
And the earlier one is not working in some cases.
OriginalGriff at 4-Mar-11 9:40am
   
So fix the earlier one before you try moving on. Otherwise you will likely make teh same mistakes, but in a more complicated environment.
And if you want help, as before: show you are trying.
CurrentlyBE at 4-Mar-11 9:42am
   
Ok...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 140
1 OriginalGriff 125
2 chainerlt 110
3 ppolymorphe 99
4 Mika Wendelius 70
0 OriginalGriff 9,178
1 Sergey Alexandrovich Kryukov 8,487
2 CPallini 5,189
3 Maciej Los 4,766
4 Mika Wendelius 3,696


Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 4 Mar 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100