Can you explain it to me more? I'm just a beginner with graphs.
Type: Posts; User: KiRa11Love
Can you explain it to me more? I'm just a beginner with graphs.
I have declared my 5 nodes. My only problem is my Breadth First Search Code. I can't get it to work. Can someone please help me with this one?
#include <conio.h>
#include <stdio.h>
typedef...
Thanks guys. It is now working. :)
Now I can continue on my work.
#include <stdio.h>
#include <conio.h>
/* count lines in input */
main()
{
clrscr();
int c, nl;
char a[30];
nl = 0;
scanf("%s",a[30]);
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
int main()
{
int ch;
clrscr();
while(ch!='0')
{
It worked!... Thanks Man... :) Now I can continue on my life. XD
When I tried what you told me. The sum is something unexpected. When I enter "32", it prints a unexpected number. But thanks for the answer, I didn't saw that error. But still more problem.
#include <stdio.h>
#include <conio.h>
main()
{
int p,N[100] = {0},d,c,E;
printf("Input a number: ");
scanf("%d",&p);
for(d=1,c=0;d<p;d++)
{