typedef char CELL;
typedef std::vector<CELL> instruction_t;
typedef instruction_t::iterator instruction_pointer;
typedef std::vector<CELL> memory_t;
typedef memory_t::iterator memory_pointer;
struct environment {
memory_t memory;
instruction_t instructions;
instruction_pointer ip; // THIS RIGHT HERE
...
};