Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fprintf(file, "digraph {\n");
- for (int i = 0; i < countofver; i++){
- for (int j = 0; j < countofver; j++){
- if (graph[i][j])
- fprintf(file, " %d -> %d;\n", i + 1, j + 1);
- }
- }
- fprintf(file, "}");
Advertisement
Add Comment
Please, Sign In to add comment