ParanoidPanda

Untitled

Jan 8th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. fprintf(file, "digraph {\n");
  2. for (int i = 0; i < countofver; i++){
  3. for (int j = 0; j < countofver; j++){
  4. if (graph[i][j])
  5. fprintf(file, " %d -> %d;\n", i + 1, j + 1);
  6. }
  7. }
  8. fprintf(file, "}");
Advertisement
Add Comment
Please, Sign In to add comment