memstack.cpp #1