Homework/HW03/Queue.cc
int Queue::front()
{ 
    if (!isEmpty()) 
        return *begin();
    else 
    {
        cerr << "Error: Attempt to access the front of an empty queue.\n";
        exit(1);
    }  
}
// Inspect the value of the front object.
Inspect the value of the front object.
Inspect the value of the front object .
int Queue::front()
{ 
    if (!isEmpty()) 
        return *begin();
    else 
    {
        cerr << "Error: Attempt to access the front of an empty queue.\n";
        exit(1);
    }  
}
int Queue :: front ( ) { if ( ! isEmpty ( ) ) return * begin ( ) ; else { cerr << " \n " ; exit ( 1 ) ; } }
Inspect the value of the front object.
Inspect the value of the front object .