int display_angle (void) { for (;;) { int theta = (int) get_degrees (); printf("\ntheta = %d", theta); pause(500); } return 0; }
int read_network(NETWORK *network, FILE *stream) { fill_buffer(stream); create_network(network); get_degrees(network); read_edges(network); free_buffer(); return 0; }
float read_angle () { return get_degrees () * DEGS_TO_RADS; }