Advertisement
jdkipfer

Untitled

Apr 1st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. /*
  2. ============================================================================
  3. Name : kipf1770_a10q1.c
  4. Author :
  5. Version :
  6. Copyright : Your copyright notice
  7. Description : Hello World in C, Ansi-style
  8. ============================================================================
  9. */
  10.  
  11. #include <stdio.h>
  12. #include <stdlib.h>
  13. #include "graph.h"
  14. int main() {
  15. setbuf(stdout, NULL);
  16. puts("0");
  17. struct graph *g = new_graph(5);
  18. puts("1");
  19. add_edge(g, 1, 2, 3);
  20. puts("2");
  21. display_graph(g);
  22. return EXIT_SUCCESS;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement