Click here to Skip to main content
12,406,342 members (66,844 online)
Rate this:
 
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 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160730.1 | Last Updated 4 Mar 2011
Copyright © CodeProject, 1999-2016
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