#include "IntCell.h" // Construct the IntCell with initialValue IntCell::IntCell( int initialValue ) : storedValue( initialValue ) { } // Return the stored value. int IntCell::read( ) const { return storedValue; } // Store x. void IntCell::write( int x ) { storedValue = x; }