#include #include "area_node.h" using namespace std; #define NUM_TO_PRINT_PER_LINE 5 //----------------------------------------------------------------------- // DO NOT MODIFY THIS PRINT FUNCTION void AreaNode::print ( ) { NumberNode* temp = head; for ( int x = 0; x < size ( ) && temp != NULL; x += NUM_TO_PRINT_PER_LINE ) { cout << " " << flush; for ( int y = 0; y < NUM_TO_PRINT_PER_LINE && temp != NULL; y ++, temp = temp->next ) { cout << temp->prefix << "-" << flush << temp->suffix << ", " << flush; } cout << endl; } } //----------------------------------------------------------------------- int AreaNode::size ( ) { } //-----------------------------------------------------------------------