#include <windows. h>#include <stdio. h>#include <stdlib. h>struct relationship ;struct node ;void createrel(struct relationship relation, struct node n1, struct node n2, int d) int main {FILE file;char filename ;int non, noe, i, j, k, n;int a, b, c;int x, y, d;struct node nodes;struct relationship relations; gets ;file = fopen ; //dosyayı açıyofscanf ; //number of nodesfscanf ; //number of edges-relations-x= malloc(noe sizeof ;y= malloc(noe sizeof ;d= malloc(noe sizeof ;for(i=0;i<noe;i++) nodes= malloc(non sizeof ;relations= malloc(noe sizeof ;for(n=0;n<noe;n++) printf("%d", relations . dist);printf ;getchar ;return 0;} debug yapınca segmentation fault arised diyor... yardımcı olabilecek müridler var mı acil... biraz ğrenci, teknolojiye bağımlı, elektroniğe ılımlı...