Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ============================================================================
- Name : kipf1770_a10q1.c
- Author :
- Version :
- Copyright : Your copyright notice
- Description : Hello World in C, Ansi-style
- ============================================================================
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include "graph.h"
- int main() {
- setbuf(stdout, NULL);
- puts("0");
- struct graph *g = new_graph(5);
- puts("1");
- add_edge(g, 1, 2, 3);
- puts("2");
- display_graph(g);
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement